p12_npas.c: Remove call with unused return value

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)
This commit is contained in:
Drokov Pavel 2024-01-12 02:32:06 -05:00 committed by Tomas Mraz
parent 41c1b6f0a5
commit 940059d545
1 changed files with 1 additions and 2 deletions

View 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);