]> 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>
Mon, 20 Apr 2020 09:40:42 +0000 (11:40 +0200)
commitda38bd0e1d9739990fcbd582369698e81968ca62
tree23e040ec3ac75ef393fee1b104ccfd37a6c2634a
parent9d979d7cd60122486c48a8f750af830710807595
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.
bin/pkcs11/pkcs11-keygen.c
lib/dns/pkcs11ecdsa_link.c
lib/dns/pkcs11eddsa_link.c
lib/isc/include/pk11/constants.h