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:
4fcf8d8
)
Fix display of all 0 IPv6 address (from Rob Austein).
author
Ben Laurie
<ben@openssl.org>
Sun, 8 Mar 2009 10:48:03 +0000
(10:48 +0000)
committer
Ben Laurie
<ben@openssl.org>
Sun, 8 Mar 2009 10:48:03 +0000
(10:48 +0000)
crypto/x509v3/v3_addr.c
patch
|
blob
|
history
diff --git
a/crypto/x509v3/v3_addr.c
b/crypto/x509v3/v3_addr.c
index a37f844d3c28d4cc35a63f17724ab3dab2c38f8a..07835501675751e194ba294156de835f7bb2c741 100644
(file)
--- a/
crypto/x509v3/v3_addr.c
+++ b/
crypto/x509v3/v3_addr.c
@@
-190,6
+190,8
@@
static int i2r_address(BIO *out,
BIO_printf(out, "%x%s", (addr[i] << 8) | addr[i+1], (i < 14 ? ":" : ""));
if (i < 16)
BIO_puts(out, ":");
+ if (i == 0)
+ BIO_puts(out, ":");
break;
default:
for (i = 0; i < bs->length; i++)