File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -2147,7 +2147,9 @@ int main( int argc, char *argv[] )
2147
2147
mbedtls_printf ( " . Restarting connection from same port..." );
2148
2148
fflush ( stdout );
2149
2149
2150
+ #if defined(MBEDTLS_X509_CRT_PARSE_C )
2150
2151
memset ( peer_crt_info , 0 , sizeof ( peer_crt_info ) );
2152
+ #endif /* MBEDTLS_X509_CRT_PARSE_C */
2151
2153
2152
2154
if ( ( ret = mbedtls_ssl_session_reset ( & ssl ) ) != 0 )
2153
2155
{
@@ -2220,7 +2222,9 @@ int main( int argc, char *argv[] )
2220
2222
2221
2223
mbedtls_printf ( " . Reconnecting with saved session..." );
2222
2224
2225
+ #if defined(MBEDTLS_X509_CRT_PARSE_C )
2223
2226
memset ( peer_crt_info , 0 , sizeof ( peer_crt_info ) );
2227
+ #endif /* MBEDTLS_X509_CRT_PARSE_C */
2224
2228
2225
2229
if ( ( ret = mbedtls_ssl_session_reset ( & ssl ) ) != 0 )
2226
2230
{
You can’t perform that action at this time.
0 commit comments