]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
DNS_STYLEFLAG_NOCRYPTO not supported in 9.9.x
authorMark Andrews <marka@isc.org>
Tue, 4 Nov 2014 03:02:42 +0000 (14:02 +1100)
committerMark Andrews <marka@isc.org>
Tue, 4 Nov 2014 03:02:42 +0000 (14:02 +1100)
lib/dns/rdata/generic/openpgpkey_61.c

index c8558b4bd6b90c2a7af551bc4c87e640ebb84b53..890b8ed7b67e28731401534600ee0db076d4e196 100644 (file)
@@ -49,15 +49,11 @@ totext_openpgpkey(ARGS_TOTEXT) {
         * Keyring
         */
        RETERR(str_totext(tctx->linebreak, target));
-       if ((tctx->flags & DNS_STYLEFLAG_NOCRYPTO) == 0) {
-               if (tctx->width == 0)   /* No splitting */
-                       RETERR(isc_base64_totext(&sr, 60, "", target));
-               else
-                       RETERR(isc_base64_totext(&sr, tctx->width - 2,
-                                                tctx->linebreak, target));
-       } else
-               RETERR(str_totext("[omitted]", target));
-
+       if (tctx->width == 0)   /* No splitting */
+               RETERR(isc_base64_totext(&sr, 60, "", target));
+       else
+               RETERR(isc_base64_totext(&sr, tctx->width - 2,
+                                        tctx->linebreak, target));
        if ((tctx->flags & DNS_STYLEFLAG_MULTILINE) != 0)
                RETERR(str_totext(" )", target));