]> git.ipfire.org Git - thirdparty/bind9.git/commit
Refactor the code using the pk11 ECC constants.
authorOndřej Surý <ondrej@isc.org>
Mon, 20 Apr 2020 08:31:15 +0000 (10:31 +0200)
committerOndřej Surý <ondrej@isc.org>
Fri, 1 May 2020 04:54:27 +0000 (06:54 +0200)
commit4e1c7e1c01c1b7e7fbda79fe832743407ce3c3d4
treed7430dc2c873c8e387a30d313c44419f0f3a7448
parentdc51f720b9c5eab6275897372036ccbc5c3184a1
Refactor the code using the pk11 ECC constants.

The pk11/constants.h header contained static CK_BYTE arrays and
we had to use #defines to pull only those we need.  This commit
changes the constants to only define byte arrays with the content
and either use them directly or define the CK_BYTE arrays locally
where used.

(cherry picked from commit da38bd0e1d9739990fcbd582369698e81968ca62)
bin/pkcs11/pkcs11-keygen.c
lib/dns/pkcs11ecdsa_link.c
lib/dns/pkcs11eddsa_link.c
lib/isc/include/pk11/constants.h