mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-23 02:28:57 -04:00
Applied #46125 fix (hardcoded "pkcs11")
This commit is contained in:
parent
ded782a862
commit
ea51eef4c8
1 changed files with 7 additions and 2 deletions
|
|
@ -611,8 +611,13 @@ main(int argc, char **argv) {
|
|||
isc_buffer_init(&buf, filename, sizeof(filename) - 1);
|
||||
|
||||
/* associate the key */
|
||||
ret = dst_key_fromlabel(name, alg, flags, protocol,
|
||||
rdclass, "pkcs11", label, NULL, mctx, &key);
|
||||
ret = dst_key_fromlabel(name, alg, flags, protocol, rdclass,
|
||||
#ifdef PKCS11CRYPTO
|
||||
"pkcs11",
|
||||
#else
|
||||
engine,
|
||||
#endif
|
||||
label, NULL, mctx, &key);
|
||||
isc_entropy_stopcallbacksources(ectx);
|
||||
|
||||
if (ret != ISC_R_SUCCESS) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue