]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
p12_npas.c: Remove call with unused return value
authorDrokov Pavel <drokov@rutoken.ru>
Fri, 12 Jan 2024 07:32:06 +0000 (02:32 -0500)
committerTomas Mraz <tomas@openssl.org>
Fri, 28 Jun 2024 07:12:03 +0000 (09:12 +0200)
CLA: trivial

Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23275)

crypto/pkcs12/p12_npas.c

index 78be2b5a8c0c45c65a37d76cb9d33385cbeda6fb..37abb3821d4b358a643b9c747493b0fe457142fe 100644 (file)
@@ -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);