mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2026-09-14 06:09:57 +00:00
committed by
Ronald Cron
parent
dc5fd035e6
commit
45a595845d
+1
-1
@@ -678,7 +678,7 @@ int mbedtls_pk_parse_subpubkey( unsigned char **p, const unsigned char *end,
|
||||
ret = MBEDTLS_ERR_PK_UNKNOWN_PK_ALG;
|
||||
|
||||
if( ret == 0 && *p != end )
|
||||
ret = MBEDTLS_ERR_PK_INVALID_PUBKEY
|
||||
ret = MBEDTLS_ERR_PK_INVALID_PUBKEY +
|
||||
MBEDTLS_ERR_ASN1_LENGTH_MISMATCH;
|
||||
|
||||
if( ret != 0 )
|
||||
|
||||
Reference in New Issue
Block a user