mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-07-30 22:43:08 +03:00
Fix preprocessor guard in ssl_server2.c
Signed-off-by: Hanno Becker <hanno.becker@arm.com>
This commit is contained in:
committed by
Chris Jones
parent
54dcf5e6c9
commit
da121744da
@ -623,6 +623,7 @@ struct options
|
|||||||
|
|
||||||
#include "ssl_test_common_source.c"
|
#include "ssl_test_common_source.c"
|
||||||
|
|
||||||
|
#if defined(MBEDTLS_X509_CRT_PARSE_C)
|
||||||
#if !defined(MBEDTLS_X509_REMOVE_INFO)
|
#if !defined(MBEDTLS_X509_REMOVE_INFO)
|
||||||
int x509_crt_verify_info( char *buf, size_t size, const char *prefix,
|
int x509_crt_verify_info( char *buf, size_t size, const char *prefix,
|
||||||
uint32_t flags )
|
uint32_t flags )
|
||||||
@ -658,6 +659,7 @@ int x509_crt_verify_info( char *buf, size_t size, const char *prefix,
|
|||||||
return( (int) ( size - n ) );
|
return( (int) ( size - n ) );
|
||||||
}
|
}
|
||||||
#endif /* MBEDTLS_X509_REMOVE_INFO */
|
#endif /* MBEDTLS_X509_REMOVE_INFO */
|
||||||
|
#endif /* MBEDTLS_X509_CRT_PARSE_C */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Return authmode from string, or -1 on error
|
* Return authmode from string, or -1 on error
|
||||||
|
Reference in New Issue
Block a user