2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-30 22:15:20 +00:00

Clear OpenSSL errors on context creation failures

This commit is contained in:
Mark Andrews
2023-07-19 17:24:34 +10:00
parent 247422c69f
commit 96db614d69

View File

@@ -231,7 +231,7 @@ openssleddsa_verify(dst_context_t *dctx, const isc_region_t *sig) {
REQUIRE(alginfo != NULL);
if (ctx == NULL) {
return (ISC_R_NOMEMORY);
return (dst__openssl_toresult(ISC_R_NOMEMORY));
}
if (sig->length != alginfo->sig_size) {