mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-12-23 19:05:44 +00:00
- Added missing rsa_init() statement
This commit is contained in:
parent
6c591fab72
commit
91b4159834
|
@ -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