- Added missing rsa_init() statement
This commit is contained in:
parent
6c591fab72
commit
91b4159834
1 changed files with 1 additions and 0 deletions
|
@ -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 )
|
||||||
|
|
Loading…
Reference in a new issue