- Added missing rsa_init() statement

This commit is contained in:
Paul Bakker 2011-05-05 12:01:31 +00:00
parent 6c591fab72
commit 91b4159834

View File

@ -210,6 +210,7 @@ int main( void )
goto exit; goto exit;
} }
rsa_init( &rsa, RSA_PKCS_V15, 0 );
ret = x509parse_key( &rsa, (unsigned char *) test_srv_key, ret = x509parse_key( &rsa, (unsigned char *) test_srv_key,
strlen( test_srv_key ), NULL, 0 ); strlen( test_srv_key ), NULL, 0 );
if( ret != 0 ) if( ret != 0 )