mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-10 12:10:00 -04:00
Clear OpenSSL errors on ECDSA_SIG_new failures
(cherry picked from commit eafcd41120)
This commit is contained in:
parent
47a741f3b1
commit
290896921d
1 changed files with 1 additions and 1 deletions
|
|
@ -357,7 +357,7 @@ opensslecdsa_verify(dst_context_t *dctx, const isc_region_t *sig) {
|
|||
|
||||
ecdsasig = ECDSA_SIG_new();
|
||||
if (ecdsasig == NULL) {
|
||||
DST_RET(ISC_R_NOMEMORY);
|
||||
DST_RET(dst__openssl_toresult(ISC_R_NOMEMORY));
|
||||
}
|
||||
r = BN_bin2bn(cp, siglen / 2, NULL);
|
||||
cp += siglen / 2;
|
||||
|
|
|
|||
Loading…
Reference in a new issue