Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 435576 Details for
Bug 584360
dev-libs/openssl: Compatibility with [bracketed] IPv6 addresses as a -connect parameter
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch for supporting [bracketed] IPv6 address as -connect parameter to openssl
openssl-1.0.2-ipv6-bracketcompat.patch (text/plain), 431 bytes, created by
Matthias Waechter
on 2016-05-27 19:12:06 UTC
(
hide
)
Description:
patch for supporting [bracketed] IPv6 address as -connect parameter to openssl
Filename:
MIME Type:
Creator:
Matthias Waechter
Created:
2016-05-27 19:12:06 UTC
Size:
431 bytes
patch
obsolete
>--- apps/s_socket.c.orig 2016-05-27 20:37:22.000000000 +0200 >+++ apps/s_socket.c 2016-05-27 20:44:30.000000000 +0200 >@@ -590,7 +590,12 @@ > } > *(p++) = '\0'; > >- if ((ip != NULL) && !host_ip(str, ip, AF_INET)) >+ if ((*h == '[') && (*(p-2) == ']')) { >+ h++; >+ *(p-2) = '\0'; >+ } >+ >+ if ((ip != NULL) && !host_ip(h, ip, AF_INET)) > goto err; > if (host_ptr != NULL) > *host_ptr = h;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 584360
: 435576