mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-26 06:45:44 +01:00
- Added missing rsa_init() call in x509parse_self_test()
This commit is contained in:
parent
2291f6c19d
commit
66b78b2d16
@ -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 )
|
||||||
|
Loading…
Reference in New Issue
Block a user