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:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user