diff options
Diffstat (limited to '')
| -rw-r--r-- | src/lib/libcrypto/x509/x509_addr.c | 9 | 
1 files changed, 4 insertions, 5 deletions
| diff --git a/src/lib/libcrypto/x509/x509_addr.c b/src/lib/libcrypto/x509/x509_addr.c index 735891fd20..a0da2af6f6 100644 --- a/src/lib/libcrypto/x509/x509_addr.c +++ b/src/lib/libcrypto/x509/x509_addr.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: x509_addr.c,v 1.88 2023/09/06 15:53:07 job Exp $ */ | 1 | /* $OpenBSD: x509_addr.c,v 1.89 2023/09/11 00:50:47 job Exp $ */ | 
| 2 | /* | 2 | /* | 
| 3 | * Contributed to the OpenSSL Project by the American Registry for | 3 | * Contributed to the OpenSSL Project by the American Registry for | 
| 4 | * Internet Numbers ("ARIN"). | 4 | * Internet Numbers ("ARIN"). | 
| @@ -676,10 +676,9 @@ i2r_IPAddrBlocks(const X509V3_EXT_METHOD *method, void *ext, BIO *out, | |||
| 676 | { | 676 | { | 
| 677 | const IPAddrBlocks *addr = ext; | 677 | const IPAddrBlocks *addr = ext; | 
| 678 | IPAddressFamily *af; | 678 | IPAddressFamily *af; | 
| 679 | uint16_t afi = 0; | 679 | uint16_t afi; | 
| 680 | uint8_t safi = 0; | 680 | uint8_t safi; | 
| 681 | int safi_is_set = 0; | 681 | int i, safi_is_set; | 
| 682 | int i; | ||
| 683 | 682 | ||
| 684 | for (i = 0; i < sk_IPAddressFamily_num(addr); i++) { | 683 | for (i = 0; i < sk_IPAddressFamily_num(addr); i++) { | 
| 685 | af = sk_IPAddressFamily_value(addr, i); | 684 | af = sk_IPAddressFamily_value(addr, i); | 
