From dd6d26856446e3fdbbc9a4941645a810adf42d7e Mon Sep 17 00:00:00 2001 From: tb Date: Fri, 29 Dec 2023 18:45:39 +0000 Subject: [PATCH] Move a call to X509_ALGOR_get0() down a line --- lib/libcrypto/ec/ec_ameth.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/libcrypto/ec/ec_ameth.c b/lib/libcrypto/ec/ec_ameth.c index 324865870cf..245001edfae 100644 --- a/lib/libcrypto/ec/ec_ameth.c +++ b/lib/libcrypto/ec/ec_ameth.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ec_ameth.c,v 1.45 2023/09/24 08:08:54 tb Exp $ */ +/* $OpenBSD: ec_ameth.c,v 1.46 2023/12/29 18:45:39 tb Exp $ */ /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL * project 2006. */ @@ -264,8 +264,8 @@ eckey_pub_decode(EVP_PKEY *pkey, X509_PUBKEY *pubkey) if (!X509_PUBKEY_get0_param(NULL, &p, &pklen, &palg, pubkey)) goto err; - X509_ALGOR_get0(NULL, &ptype, &pval, palg); + X509_ALGOR_get0(NULL, &ptype, &pval, palg); if (!eckey_from_params(ptype, pval, &eckey)) goto err; -- 2.20.1