openssl-util: drop meaningless assertion

As the type of 'msz' is int.

Fixes CID#1497842.
This commit is contained in:
Yu Watanabe
2022-09-13 17:03:18 +09:00
parent 6d64cb0625
commit d39929d96d
-1
View File
@@ -149,7 +149,6 @@ int pubkey_fingerprint(EVP_PKEY *pk, const EVP_MD *md, void **ret, size_t *ret_s
msz = EVP_MD_size(md);
assert_se(msz > 0);
assert_se(msz <= INT_MAX);
h = malloc(msz);
if (!h)