From: Ben Laurie Date: Tue, 14 Oct 2008 19:21:30 +0000 (+0000) Subject: Set the comparison function in v3_addr_canonize(). X-Git-Tag: OpenSSL_0_9_8j~76 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=cdffc716c9afac6591c7831804f07a531a75d36b;p=oweals%2Fopenssl.git Set the comparison function in v3_addr_canonize(). --- diff --git a/CHANGES b/CHANGES index b0d4012d3b..ceff533edc 100644 --- a/CHANGES +++ b/CHANGES @@ -4,6 +4,9 @@ Changes between 0.9.8i and 0.9.8j [xx XXX xxxx] + *) Set the comparison function in v3_addr_canonize(). + [Rob Austein ] + *) Add support for XMPP STARTTLS in s_client. [Philip Paeps ] diff --git a/crypto/x509v3/v3_addr.c b/crypto/x509v3/v3_addr.c index c6730ab3fd..63f4785325 100644 --- a/crypto/x509v3/v3_addr.c +++ b/crypto/x509v3/v3_addr.c @@ -878,6 +878,7 @@ int v3_addr_canonize(IPAddrBlocks *addr) v3_addr_get_afi(f))) return 0; } + sk_IPAddressFamily_set_cmp_func(addr, IPAddressFamily_cmp); sk_IPAddressFamily_sort(addr); assert(v3_addr_is_canonical(addr)); return 1;