1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-07-25 02:02:03 +03:00

Adapt ssl_cert_test to changes in PK

This commit is contained in:
Manuel Pégourié-Gonnard
2013-08-14 21:15:53 +02:00
parent ac4cd36297
commit 7e56de1671

View File

@ -213,7 +213,7 @@ int main( int argc, char *argv[] )
/* EC NOT IMPLEMENTED YET */
if( clicert.pk.type != POLARSSL_PK_RSA )
if( ! pk_can_do( &clicert.pk, POLARSSL_PK_RSA ) )
{
printf( " failed\n ! certificate's key is not RSA\n\n" );
ret = POLARSSL_ERR_X509_FEATURE_UNAVAILABLE;