diff options
author | Ben Laurie <ben@openssl.org> | 2008-10-14 21:27:07 +0200 |
---|---|---|
committer | Ben Laurie <ben@openssl.org> | 2008-10-14 21:27:07 +0200 |
commit | 28b6d5020ee928ee41d360628d904bf2f31eec92 (patch) | |
tree | e8943f6b301baa890cc5a46a906f3d8577d37cb0 /crypto/x509v3 | |
parent | Add XMPP STARTTLS support. (diff) | |
download | openssl-28b6d5020ee928ee41d360628d904bf2f31eec92.tar.xz openssl-28b6d5020ee928ee41d360628d904bf2f31eec92.zip |
Set comparison function in v3_add_canonize().
Diffstat (limited to 'crypto/x509v3')
-rw-r--r-- | crypto/x509v3/v3_addr.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/x509v3/v3_addr.c b/crypto/x509v3/v3_addr.c index 6537105108..16eaa730f5 100644 --- a/crypto/x509v3/v3_addr.c +++ b/crypto/x509v3/v3_addr.c @@ -877,6 +877,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; |