mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-08-08 17:42:09 +03:00
Fix warnings (enum value missing from switch/case)
This commit is contained in:
committed by
Paul Bakker
parent
72ef0b775d
commit
7c5819eb1e
@@ -637,7 +637,9 @@ static int x509_get_pubkey( unsigned char **p,
|
||||
switch( pk_alg )
|
||||
{
|
||||
case POLARSSL_PK_NONE:
|
||||
ret = POLARSSL_ERR_X509_UNKNOWN_PK_ALG;
|
||||
case POLARSSL_PK_ECDSA:
|
||||
/* Should never happen */
|
||||
ret = POLARSSL_ERR_X509_CERT_INVALID_ALG;
|
||||
break;
|
||||
|
||||
case POLARSSL_PK_RSA:
|
||||
|
Reference in New Issue
Block a user