diff options
Diffstat (limited to 'src/pluto')
-rw-r--r-- | src/pluto/dnskey.c | 2 | ||||
-rw-r--r-- | src/pluto/keys.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/pluto/dnskey.c b/src/pluto/dnskey.c index ed901ade5..ea8419825 100644 --- a/src/pluto/dnskey.c +++ b/src/pluto/dnskey.c @@ -436,7 +436,7 @@ process_txt_rr_body(u_char *str } rfc3110_chunk = chunk_create(buf, sz); key = lib->creds->create(lib->creds, CRED_PRIVATE_KEY, KEY_RSA, - BUILD_BLOB_RFC_3110, rfc3110_chunk, + BUILD_BLOB_DNSKEY, rfc3110_chunk, BUILD_END); if (key == NULL) { diff --git a/src/pluto/keys.c b/src/pluto/keys.c index 516872e8e..31190340d 100644 --- a/src/pluto/keys.c +++ b/src/pluto/keys.c @@ -1296,7 +1296,7 @@ bool add_public_key(const struct id *id, enum dns_auth_level dns_auth_level, { case PUBKEY_ALG_RSA: key = lib->creds->create(lib->creds, CRED_PUBLIC_KEY, KEY_RSA, - BUILD_BLOB_RFC_3110, rfc3110_key, + BUILD_BLOB_DNSKEY, rfc3110_key, BUILD_END); if (key == NULL) { |