mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-01-11 22:55:50 +00:00
Merge remote-tracking branch 'upstream-public/pr/1953' into mbedtls-2.7
This commit is contained in:
commit
e4d14208aa
|
@ -351,9 +351,15 @@ int main( int argc, char *argv[] )
|
|||
int ret = 1, len;
|
||||
int exit_code = MBEDTLS_EXIT_FAILURE;
|
||||
mbedtls_net_context server_fd;
|
||||
unsigned char buf[1024];
|
||||
#if defined(MBEDTLS_BASE64_C)
|
||||
unsigned char base[1024];
|
||||
/* buf is used as the destination buffer for printing base with the format:
|
||||
* "%s\r\n". Hence, the size of buf should be at least the size of base
|
||||
* plus 2 bytes for the \r and \n characters.
|
||||
*/
|
||||
unsigned char buf[sizeof( base ) + 2];
|
||||
#else
|
||||
unsigned char buf[1024];
|
||||
#endif
|
||||
char hostname[32];
|
||||
const char *pers = "ssl_mail_client";
|
||||
|
|
Loading…
Reference in a new issue