From: Drokov Pavel Date: Fri, 12 Jan 2024 07:32:06 +0000 (-0500) Subject: p12_npas.c: Remove call with unused return value X-Git-Tag: openssl-3.4.0-alpha1~430 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=940059d545981017fffba9e8eeb9e52ee7f4cda0;p=thirdparty%2Fopenssl.git p12_npas.c: Remove call with unused return value CLA: trivial Reviewed-by: Neil Horman Reviewed-by: Tomas Mraz (Merged from https://github.com/openssl/openssl/pull/23275) --- diff --git a/crypto/pkcs12/p12_npas.c b/crypto/pkcs12/p12_npas.c index 78be2b5a8c0..37abb3821d4 100644 --- a/crypto/pkcs12/p12_npas.c +++ b/crypto/pkcs12/p12_npas.c @@ -212,8 +212,7 @@ static int alg_get(const X509_ALGOR *alg, int *pnid, int *piter, if (pbe2 == NULL) goto done; - X509_ALGOR_get0(&aoid, &aparamtype, &aparam, pbe2->keyfunc); - pbenid = OBJ_obj2nid(aoid); + X509_ALGOR_get0(NULL, &aparamtype, &aparam, pbe2->keyfunc); X509_ALGOR_get0(&aoid, NULL, NULL, pbe2->encryption); encnid = OBJ_obj2nid(aoid);