From: Matthijs Mekking Date: Tue, 15 Dec 2020 12:13:26 +0000 (+0100) Subject: ECDSA code should not use RSA label X-Git-Tag: v9.17.10~21^2~5 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=46afeca8bfe2e9d4080acc52dcf03fa980950e35;p=thirdparty%2Fbind9.git ECDSA code should not use RSA label The 'opensslecdsa_tofile()' function tags the label as an RSA label, that is a copy paste error and should be of course an ECDSA label. --- diff --git a/lib/dns/opensslecdsa_link.c b/lib/dns/opensslecdsa_link.c index f198599e2f3..bcf92b6ca4b 100644 --- a/lib/dns/opensslecdsa_link.c +++ b/lib/dns/opensslecdsa_link.c @@ -539,7 +539,7 @@ opensslecdsa_tofile(const dst_key_t *key, const char *directory) { } if (key->label != NULL) { - priv.elements[i].tag = TAG_RSA_LABEL; + priv.elements[i].tag = TAG_ECDSA_LABEL; priv.elements[i].length = (unsigned short)strlen(key->label) + 1; priv.elements[i].data = (unsigned char *)key->label;