]> git.ipfire.org Git - thirdparty/bind9.git/commit
Don't set pubkey if eckey already has public key
authorMatthijs Mekking <matthijs@isc.org>
Tue, 15 Dec 2020 13:09:05 +0000 (14:09 +0100)
committerMatthijs Mekking <matthijs@isc.org>
Tue, 26 Jan 2021 14:04:21 +0000 (15:04 +0100)
commit9e2ea5efb1dadeedac839eebf98c27c1a913541e
treecb27ba470cd39498da2ed6a168f97d43aedfd0c3
parente3acfb44d565b9fee3011524996a4305be61e03f
Don't set pubkey if eckey already has public key

The 'ecdsa_check()' function tries to correctly set the public key
on the eckey, but this should be skipped if the public key is
retrieved via the private key.

(cherry picked from commit 06b972415296a397d7eca7be01432e87f531fae5)
lib/dns/opensslecdsa_link.c