- Added missing rsa_init() call in x509parse_self_test()
This commit is contained in:
parent
2291f6c19d
commit
66b78b2d16
1 changed files with 2 additions and 0 deletions
|
@ -3036,6 +3036,8 @@ int x509_self_test( int verbose )
|
|||
i = strlen( test_ca_key );
|
||||
j = strlen( test_ca_pwd );
|
||||
|
||||
rsa_init( &rsa, RSA_PKCS_V15, 0 );
|
||||
|
||||
if( ( ret = x509parse_key( &rsa,
|
||||
(unsigned char *) test_ca_key, i,
|
||||
(unsigned char *) test_ca_pwd, j ) ) != 0 )
|
||||
|
|
Loading…
Reference in a new issue