projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c565e99
)
Add missing braces.
author
Kurt Roeckx
<kurt@roeckx.be>
Sun, 15 Jan 2017 23:04:31 +0000
(
00:04
+0100)
committer
Kurt Roeckx
<kurt@roeckx.be>
Mon, 16 Jan 2017 03:51:03 +0000
(
04:51
+0100)
Reviewed-by: Richard Levitte <levitte@openssl.org>
GH: #2234
(cherry picked from commit
c4a60150914fc260c3fc2854e13372c870bdde76
)
crypto/x509/t_x509.c
patch
|
blob
|
history
diff --git
a/crypto/x509/t_x509.c
b/crypto/x509/t_x509.c
index 5119c0e6f710ea6737bfb92f7737a128cf636f8a..eb65d8873276f8a3dd97e42094b0385a5bce7659 100644
(file)
--- 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 {