mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-29 22:14:15 +01:00
If a key is not of a supported type, something went wrong
This commit is contained in:
parent
e60b365a5e
commit
d7fb66fd13
@ -60,7 +60,9 @@ int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size) {
|
|||||||
else
|
else
|
||||||
#endif
|
#endif
|
||||||
{
|
{
|
||||||
ret = 0;
|
/* The key is valid but is not of a supported type.
|
||||||
|
* This should not happen. */
|
||||||
|
abort( );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
mbedtls_pk_free( &pk );
|
mbedtls_pk_free( &pk );
|
||||||
|
@ -60,7 +60,9 @@ int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size) {
|
|||||||
else
|
else
|
||||||
#endif
|
#endif
|
||||||
{
|
{
|
||||||
ret = 0;
|
/* The key is valid but is not of a supported type.
|
||||||
|
* This should not happen. */
|
||||||
|
abort( );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
mbedtls_pk_free( &pk );
|
mbedtls_pk_free( &pk );
|
||||||
|
Loading…
Reference in New Issue
Block a user