From a31d0513c30cc8125edb36b9330e5db55c317ff7 Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Tue, 4 Nov 2014 17:02:32 +1100 Subject: [PATCH] add missing opening bracket --- lib/dns/rdata/generic/openpgpkey_61.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/dns/rdata/generic/openpgpkey_61.c b/lib/dns/rdata/generic/openpgpkey_61.c index c8558b4bd6..d6801959a5 100644 --- a/lib/dns/rdata/generic/openpgpkey_61.c +++ b/lib/dns/rdata/generic/openpgpkey_61.c @@ -48,7 +48,9 @@ totext_openpgpkey(ARGS_TOTEXT) { /* * Keyring */ - RETERR(str_totext(tctx->linebreak, target)); + if ((tctx->flags & DNS_STYLEFLAG_MULTILINE) != 0) + RETERR(str_totext("( ", target)); + if ((tctx->flags & DNS_STYLEFLAG_NOCRYPTO) == 0) { if (tctx->width == 0) /* No splitting */ RETERR(isc_base64_totext(&sr, 60, "", target));