- Added missing rsa_init() call in x509parse_self_test()

This commit is contained in:
Paul Bakker 2011-03-25 14:22:50 +00:00
parent 2291f6c19d
commit 66b78b2d16

View file

@ -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 )