]> git.ipfire.org Git - thirdparty/bind9.git/commit
Fix keyfromlabel to not use engine parameter for provider keys
authorTimo Teräs <timo.teras@iki.fi>
Fri, 28 Jul 2023 10:44:13 +0000 (13:44 +0300)
committerTimo Teräs <timo.teras@iki.fi>
Tue, 8 Aug 2023 14:16:14 +0000 (17:16 +0300)
commitde486d0ec5d5642ddb1820a1269f5406a2bb1c64
tree2fce0a3f9a432212fbdb9683680a0d0c3d2a327c
parent222f2bd11c1e81bc956d940c455d3fabb6b9a648
Fix keyfromlabel to not use engine parameter for provider keys

- Rework key checks to not require 'engine' tag, private key
  is valid with 'label' tag alone

- Fix _fromlabel() functions to work with engine == NULL

- Update dst__openssl_fromlabel_engine() to do provider lookup
  only when engine is not set
CHANGES
lib/dns/dst_parse.c
lib/dns/openssl_link.c
lib/dns/opensslecdsa_link.c
lib/dns/openssleddsa_link.c
lib/dns/opensslrsa_link.c