Add missing braces.

Reviewed-by: Richard Levitte <levitte@openssl.org>
GH: #2234
This commit is contained in:
Kurt Roeckx 2017-01-16 00:04:31 +01:00
parent c2ce477f1f
commit c4a6015091

View file

@ -97,9 +97,10 @@ int X509_print_ex(BIO *bp, X509 *x, unsigned long nmflags,
if (bs->type == V_ASN1_NEG_INTEGER) {
ul = 0 - (unsigned long)l;
neg = "-";
} else
} else {
ul = l;
neg = "";
}
if (BIO_printf(bp, " %s%lu (%s0x%lx)\n", neg, ul, neg, ul) <= 0)
goto err;
} else {