Add missing braces.
Reviewed-by: Richard Levitte <levitte@openssl.org> GH: #2234
This commit is contained in:
parent
c2ce477f1f
commit
c4a6015091
1 changed files with 2 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue