Adapt ssl_cert_test to changes in PK
This commit is contained in:
parent
ac4cd36297
commit
7e56de1671
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue