summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/pem
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/pem')
-rw-r--r--src/lib/libcrypto/pem/pem_lib.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/lib/libcrypto/pem/pem_lib.c b/src/lib/libcrypto/pem/pem_lib.c
index db0e75518b..d4e6599a77 100644
--- a/src/lib/libcrypto/pem/pem_lib.c
+++ b/src/lib/libcrypto/pem/pem_lib.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: pem_lib.c,v 1.54 2023/11/19 15:46:10 tb Exp $ */ 1/* $OpenBSD: pem_lib.c,v 1.55 2023/11/29 21:35:57 tb Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -220,8 +220,7 @@ check_pem(const char *nm, const char *name)
220 const EVP_PKEY_ASN1_METHOD *ameth; 220 const EVP_PKEY_ASN1_METHOD *ameth;
221 slen = pem_check_suffix(nm, "PARAMETERS"); 221 slen = pem_check_suffix(nm, "PARAMETERS");
222 if (slen > 0) { 222 if (slen > 0) {
223 ENGINE *e; 223 ameth = EVP_PKEY_asn1_find_str(NULL, nm, slen);
224 ameth = EVP_PKEY_asn1_find_str(&e, nm, slen);
225 if (ameth) { 224 if (ameth) {
226 int r; 225 int r;
227 if (ameth->param_decode) 226 if (ameth->param_decode)