mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-05-11 14:32:14 +00:00
Adapt ssl_cert_test to changes in PK
This commit is contained in:
parent
ac4cd36297
commit
7e56de1671
|
@ -213,7 +213,7 @@ int main( int argc, char *argv[] )
|
||||||
|
|
||||||
|
|
||||||
/* EC NOT IMPLEMENTED YET */
|
/* 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" );
|
printf( " failed\n ! certificate's key is not RSA\n\n" );
|
||||||
ret = POLARSSL_ERR_X509_FEATURE_UNAVAILABLE;
|
ret = POLARSSL_ERR_X509_FEATURE_UNAVAILABLE;
|
||||||
|
|
Loading…
Reference in a new issue