commit | b7e6b88e8dbcbf32e30d9dd867721ed378ce7e44 | [log] [tgz] |
---|---|---|
author | Kazuho Oku <kazuhooku@gmail.com> | Fri Feb 10 20:57:40 2023 +0900 |
committer | Kazuho Oku <kazuhooku@gmail.com> | Fri Feb 10 20:57:40 2023 +0900 |
tree | 26a2ecbbd33dfbdaff6ce1f9522311eb196fd4a9 | |
parent | 1009a0a7e9aff80937bb5472a8d64b1fe0eaa564 [diff] |
memory allocated by boringssl have to be freed using `OPENSSL_free`
diff --git a/lib/openssl.c b/lib/openssl.c index 1443885..c64a8db 100644 --- a/lib/openssl.c +++ b/lib/openssl.c
@@ -1710,7 +1710,7 @@ *verifier = verify_sign; ret = 0; Exit: - free(expected_pubkey.base); + OPENSSL_free(expected_pubkey.base); return ret; }