Validate AFIs before sorting in X509v3_adr_canonize()
authortb <tb@openbsd.org>
Tue, 28 Dec 2021 20:58:05 +0000 (20:58 +0000)
committertb <tb@openbsd.org>
Tue, 28 Dec 2021 20:58:05 +0000 (20:58 +0000)
commitc719c8bc5df34c20c786ed66d003f5c914a92e60
tree9be4bae8f321a267fe834a59ae1220d1db4f7a20
parentb5341c5be7c09b0b87b6ade5e9fb8ee218ef8df5
Validate AFIs before sorting in X509v3_adr_canonize()

Again, we're dealing with necessarily not fully validated data here,
so a check up front seems prudent.

ok jsing
lib/libcrypto/x509/x509_addr.c