mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-07-30 22:43:08 +03:00
Moved PK key parsing from X509 module to PK module
This commit is contained in:
@ -292,11 +292,11 @@ int main( int argc, char *argv[] )
|
||||
printf( " . Loading the private key ..." );
|
||||
fflush( stdout );
|
||||
|
||||
ret = x509parse_keyfile( &key, opt.filename, NULL );
|
||||
ret = pk_parse_keyfile( &key, opt.filename, NULL );
|
||||
|
||||
if( ret != 0 )
|
||||
{
|
||||
printf( " failed\n ! x509parse_keyfile returned %d", ret );
|
||||
printf( " failed\n ! pk_parse_keyfile returned %d", ret );
|
||||
goto exit;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user