mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-08-01 10:06:53 +03:00
Introduced x509_crt_init(), x509_crl_init() and x509_csr_init()
This commit is contained in:
@ -30,7 +30,7 @@ void debug_print_crt( char *crt_file, char *file, int line, char *prefix,
|
||||
ssl_context ssl;
|
||||
struct buffer_data buffer;
|
||||
|
||||
memset( &crt, 0, sizeof( x509_cert ) );
|
||||
x509_crt_init( &crt );
|
||||
memset( &ssl, 0, sizeof( ssl_context ) );
|
||||
memset( buffer.buf, 0, 2000 );
|
||||
buffer.ptr = buffer.buf;
|
||||
|
Reference in New Issue
Block a user