From: Kurt Roeckx Date: Sun, 15 Jan 2017 23:04:31 +0000 (+0100) Subject: Add missing braces. X-Git-Tag: OpenSSL_1_1_0d~43 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=98bdd4363bd657304d88fb4b64a684e26c66b774;p=oweals%2Fopenssl.git Add missing braces. Reviewed-by: Richard Levitte GH: #2234 (cherry picked from commit c4a60150914fc260c3fc2854e13372c870bdde76) --- diff --git a/crypto/x509/t_x509.c b/crypto/x509/t_x509.c index 5119c0e6f7..eb65d88732 100644 --- a/crypto/x509/t_x509.c +++ b/crypto/x509/t_x509.c @@ -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 {