commit | d7fb66fd138380b9bb2dab5acd5b5d91de00a9ef | [log] [tgz] |
---|---|---|
author | Gilles Peskine <Gilles.Peskine@arm.com> | Tue Feb 25 19:54:27 2020 +0100 |
committer | Gilles Peskine <Gilles.Peskine@arm.com> | Tue Feb 25 19:54:27 2020 +0100 |
tree | 0943e0f7a56cc8f874acff153467f2fd7fd00acb | |
parent | e60b365a5e4a991a843d85b749632628b0b585e5 [diff] [blame] |
If a key is not of a supported type, something went wrong
diff --git a/programs/fuzz/fuzz_pubkey.c b/programs/fuzz/fuzz_pubkey.c index 95b7521..9e80350 100644 --- a/programs/fuzz/fuzz_pubkey.c +++ b/programs/fuzz/fuzz_pubkey.c
@@ -60,7 +60,9 @@ else #endif { - ret = 0; + /* The key is valid but is not of a supported type. + * This should not happen. */ + abort( ); } } mbedtls_pk_free( &pk );