From: Samuel Zeter Date: Thu, 2 Oct 2025 15:06:30 +0000 (+1000) Subject: x509: Remove extraneous asn1_delete X-Git-Tag: 3.8.11~10^2~1 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=851b1560bf3387e043be0eff50f8ff7d40383a04;p=thirdparty%2Fgnutls.git x509: Remove extraneous asn1_delete No need for deletion given we already call asn1_delete_structure2. Signed-off-by: Samuel Zeter --- diff --git a/lib/x509/privkey_pkcs8.c b/lib/x509/privkey_pkcs8.c index 4746a0ab89..ec18fa8c48 100644 --- a/lib/x509/privkey_pkcs8.c +++ b/lib/x509/privkey_pkcs8.c @@ -274,7 +274,6 @@ inline static int _encode_privkey(gnutls_x509_privkey_t pkey, error: asn1_delete_structure2(&spk, ASN1_DELETE_FLAG_ZEROIZE); - asn1_delete_structure(&spk); return ret; }