]> git.ipfire.org Git - thirdparty/ldns.git/commitdiff
Typo fix. Thanks Wouter!
authorWillem Toorop <willem@NLnetLabs.nl>
Mon, 5 Sep 2011 09:03:28 +0000 (09:03 +0000)
committerWillem Toorop <willem@NLnetLabs.nl>
Mon, 5 Sep 2011 09:03:28 +0000 (09:03 +0000)
dnssec.c

index 661608b88949d54ae5d0c2c23666914e53e54c5c..0bb524f1064c1cd680d26f2cf4ae9cc7b4e4abd7 100644 (file)
--- a/dnssec.c
+++ b/dnssec.c
@@ -535,8 +535,8 @@ ldns_key_rr2ds(const ldns_rr *key, ldns_hash h)
                ldns_rr_free(ds);
                return NULL;
 #endif
-#ifdef USE_ECDSA
        case LDNS_SHA384:
+#ifdef USE_ECDSA
                digest = LDNS_XMALLOC(uint8_t, SHA384_DIGEST_LENGTH);
                if (!digest) {
                        ldns_rr_free(ds);