summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/libcrypto/asn1/ameth_lib.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/lib/libcrypto/asn1/ameth_lib.c b/src/lib/libcrypto/asn1/ameth_lib.c
index f9ddf5dcd1..2165bf06b5 100644
--- a/src/lib/libcrypto/asn1/ameth_lib.c
+++ b/src/lib/libcrypto/asn1/ameth_lib.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: ameth_lib.c,v 1.38 2023/12/29 10:08:44 tb Exp $ */ 1/* $OpenBSD: ameth_lib.c,v 1.39 2023/12/29 10:17:26 tb Exp $ */
2/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL 2/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
3 * project 2006. 3 * project 2006.
4 */ 4 */
@@ -131,10 +131,10 @@ pkey_asn1_find(int pkey_id)
131} 131}
132 132
133/* 133/*
134 * Find an implementation of an ASN1 algorithm. If 'pe' is not NULL 134 * XXX - fix this. In what looks like an infinite loop, this API only makes two
135 * also search through engines and set *pe to a functional reference 135 * calls to pkey_asn1_find(): If the type resolves to an aliased ASN.1 method,
136 * to the engine implementing 'type' or NULL if no engine implements 136 * the second call will find the method it aliases. Codify this in regress and
137 * it. 137 * make this explicit in code.
138 */ 138 */
139const EVP_PKEY_ASN1_METHOD * 139const EVP_PKEY_ASN1_METHOD *
140EVP_PKEY_asn1_find(ENGINE **pe, int type) 140EVP_PKEY_asn1_find(ENGINE **pe, int type)