From: Wouter Wijngaards Date: Thu, 3 Sep 2009 12:26:41 +0000 (+0000) Subject: use right enum X-Git-Tag: release-1.6.2~79 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cc768ce62f2609894e4dfa29f8bafe206d35e86d;p=thirdparty%2Fldns.git use right enum --- diff --git a/keys.c b/keys.c index f1902148..ebf67b1a 100644 --- a/keys.c +++ b/keys.c @@ -239,10 +239,10 @@ ldns_key_new_frm_fp_l(ldns_key **key, FILE *fp, int *line_nr) alg = LDNS_SIGN_RSASHA1; } if (strncmp(d, "6 DSA", 2) == 0) { - alg = LDNS_DSA_NSEC3; + alg = LDNS_SIGN_DSA_NSEC3; } if (strncmp(d, "7 RSASHA1", 2) == 0) { - alg = LDNS_RSASHA1_NSEC3; + alg = LDNS_SIGN_RSASHA1_NSEC3; } if (strncmp(d, "8 RSASHA256", 2) == 0) {