Reported by Viktor Szakats in
https://github.com/libressl/portable/issues/910
ok job
-/* $OpenBSD: x509_addr.c,v 1.86 2023/02/16 08:38:17 tb Exp $ */
+/* $OpenBSD: x509_addr.c,v 1.87 2023/09/06 15:32:54 tb Exp $ */
/*
* Contributed to the OpenSSL Project by the American Registry for
* Internet Numbers ("ARIN").
uint8_t safi = 0;
int got_safi = 0;
+ if (out_afi != NULL)
+ *out_afi = 0;
+ if (out_safi != NULL) {
+ *out_safi = 0;
+ *safi_is_set = 0;
+ }
+
CBS_init(&cbs, af->addressFamily->data, af->addressFamily->length);
if (!CBS_get_u16(&cbs, &afi))