summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authortb <>2025-01-20 12:57:28 +0000
committertb <>2025-01-20 12:57:28 +0000
commit7015702a8359cd7c39bb8fe06a5545cb03b477b2 (patch)
tree5bf206e49b568515f7636c3e230fa0fad2e30fb2 /src
parent43915a39f7efccde7bd1e8488cad13c111d0b89d (diff)
downloadopenbsd-7015702a8359cd7c39bb8fe06a5545cb03b477b2.tar.gz
openbsd-7015702a8359cd7c39bb8fe06a5545cb03b477b2.tar.bz2
openbsd-7015702a8359cd7c39bb8fe06a5545cb03b477b2.zip
Annotate why EVP_PKEY_CTX_ctrl_str() will stay for a while
Diffstat (limited to 'src')
-rw-r--r--src/lib/libcrypto/evp/pmeth_lib.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/lib/libcrypto/evp/pmeth_lib.c b/src/lib/libcrypto/evp/pmeth_lib.c
index 1aa2fda280..fbf4057c38 100644
--- a/src/lib/libcrypto/evp/pmeth_lib.c
+++ b/src/lib/libcrypto/evp/pmeth_lib.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: pmeth_lib.c,v 1.41 2024/07/09 17:02:29 tb Exp $ */ 1/* $OpenBSD: pmeth_lib.c,v 1.42 2025/01/20 12:57:28 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 */
@@ -244,6 +244,11 @@ EVP_PKEY_CTX_ctrl(EVP_PKEY_CTX *ctx, int keytype, int optype, int cmd,
244} 244}
245LCRYPTO_ALIAS(EVP_PKEY_CTX_ctrl); 245LCRYPTO_ALIAS(EVP_PKEY_CTX_ctrl);
246 246
247/*
248 * This is practically unused and would best be a part of the openssl(1) code,
249 * but, unfortunately, openssl-ruby exposes this directly in an interface and
250 * it's currently the only way to do RSA-PSS in Ruby.
251 */
247int 252int
248EVP_PKEY_CTX_ctrl_str(EVP_PKEY_CTX *ctx, const char *name, const char *value) 253EVP_PKEY_CTX_ctrl_str(EVP_PKEY_CTX *ctx, const char *name, const char *value)
249{ 254{