mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2025-12-23 15:55:10 +01:00
Introduced x509_crt_init(), x509_crl_init() and x509_csr_init()
This commit is contained in:
parent
86d0c1949e
commit
369d2eb2a2
20 changed files with 79 additions and 34 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue