From f8be08d200850b7046e1d9c67123b17b7e6ffd56 Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Sat, 10 Jul 1999 12:48:31 +0000 Subject: [PATCH] SXnet code was freeing up the extension data rather than the temporary zone number. --- crypto/x509v3/v3_sxnet.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crypto/x509v3/v3_sxnet.c b/crypto/x509v3/v3_sxnet.c index 0f198f62f2..0687bb4e3d 100644 --- a/crypto/x509v3/v3_sxnet.c +++ b/crypto/x509v3/v3_sxnet.c @@ -307,7 +307,7 @@ ASN1_OCTET_STRING *SXNET_get_id_asc(SXNET *sx, char *zone) return NULL; } oct = SXNET_get_id_INTEGER(sx, izone); - ASN1_INTEGER_free(oct); + ASN1_INTEGER_free(izone); return oct; } @@ -321,7 +321,7 @@ ASN1_OCTET_STRING *SXNET_get_id_ulong(SXNET *sx, unsigned long lzone) return NULL; } oct = SXNET_get_id_INTEGER(sx, izone); - ASN1_INTEGER_free(oct); + ASN1_INTEGER_free(izone); return oct; } -- 2.25.1