mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2025-12-21 21:36:21 +01:00
Make 'port' a string in NET module
- avoids dependency on snprintf - allows using "smtps" instead of "456" if desired
This commit is contained in:
parent
e244f9ffc0
commit
c0d749418b
16 changed files with 46 additions and 87 deletions
|
|
@ -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) || \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue