summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto
diff options
context:
space:
mode:
authortb <>2023-12-29 10:17:26 +0000
committertb <>2023-12-29 10:17:26 +0000
commita2bea77d8a489a47251bd9752bcd9d738b09cffe (patch)
tree46b3929594d46a2dcb583e014fd32866b0f80612 /src/lib/libcrypto
parentd4fceb5dee1f5cc7f9fa7ca8fede393d9c582d12 (diff)
downloadopenbsd-a2bea77d8a489a47251bd9752bcd9d738b09cffe.tar.gz
openbsd-a2bea77d8a489a47251bd9752bcd9d738b09cffe.tar.bz2
openbsd-a2bea77d8a489a47251bd9752bcd9d738b09cffe.zip
Replace outdated comment on EVP_PKEY_asn1_find() with a todo item
Diffstat (limited to 'src/lib/libcrypto')
-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)