renamed BUILD_BLOB_RFC_3110 to BUILD_BLOB_DNSKEY, we potentially support other key types

This commit is contained in:
Martin Willi
2009-08-26 11:23:51 +02:00
parent caa00e7ab7
commit 3addf4e937
6 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -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)
{
+1 -1
View File
@@ -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)
{