commit | c0d749418b70fe24f7812a169ad88d713ce5ef58 | [log] [tgz] |
---|---|---|
author | Manuel Pégourié-Gonnard <mpg@elzevir.fr> | Tue Jun 23 12:30:57 2015 +0200 |
committer | Manuel Pégourié-Gonnard <mpg@elzevir.fr> | Tue Jun 23 13:09:11 2015 +0200 |
tree | f0e2d43bb1c4685ed5035f809fa5e0634a91cd5a | |
parent | e244f9ffc06fffd251ab0e09ce54df6c8c2d3cb4 [diff] [blame] |
Make 'port' a string in NET module - avoids dependency on snprintf - allows using "smtps" instead of "456" if desired
diff --git a/programs/pkey/dh_server.c b/programs/pkey/dh_server.c index 8fda29f..30abaa8 100644 --- a/programs/pkey/dh_server.c +++ b/programs/pkey/dh_server.c
@@ -49,7 +49,7 @@ #include <string.h> #endif -#define SERVER_PORT 11999 +#define SERVER_PORT "11999" #define PLAINTEXT "==Hello there!==" #if !defined(MBEDTLS_AES_C) || !defined(MBEDTLS_DHM_C) || \