mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-07-30 22:43:08 +03:00
- Added missing rsa_init() call in x509parse_self_test()
This commit is contained in:
@ -3036,6 +3036,8 @@ int x509_self_test( int verbose )
|
|||||||
i = strlen( test_ca_key );
|
i = strlen( test_ca_key );
|
||||||
j = strlen( test_ca_pwd );
|
j = strlen( test_ca_pwd );
|
||||||
|
|
||||||
|
rsa_init( &rsa, RSA_PKCS_V15, 0 );
|
||||||
|
|
||||||
if( ( ret = x509parse_key( &rsa,
|
if( ( ret = x509parse_key( &rsa,
|
||||||
(unsigned char *) test_ca_key, i,
|
(unsigned char *) test_ca_key, i,
|
||||||
(unsigned char *) test_ca_pwd, j ) ) != 0 )
|
(unsigned char *) test_ca_pwd, j ) ) != 0 )
|
||||||
|
Reference in New Issue
Block a user