diff options
author | tb <> | 2023-06-20 14:12:51 +0000 |
---|---|---|
committer | tb <> | 2023-06-20 14:12:51 +0000 |
commit | 7ea401adb2804ed6d2775743d6b107919b67360c (patch) | |
tree | a57e9ee6ffc56d6dfaa3bb6bca0adce912b5507d | |
parent | 8ee8908c1e8d7f63191d0d1be9b8dd96f87bbe29 (diff) | |
download | openbsd-7ea401adb2804ed6d2775743d6b107919b67360c.tar.gz openbsd-7ea401adb2804ed6d2775743d6b107919b67360c.tar.bz2 openbsd-7ea401adb2804ed6d2775743d6b107919b67360c.zip |
Rename int_ctx_new() into evp_pkey_ctx_new()
int_ctx_new() is a bad, generic, nondescriptive name.
requested by jsing
-rw-r--r-- | src/lib/libcrypto/evp/pmeth_lib.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/libcrypto/evp/pmeth_lib.c b/src/lib/libcrypto/evp/pmeth_lib.c index 1eb73f57bd..d9001ea8fd 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.29 2023/06/20 14:10:05 tb Exp $ */ | 1 | /* $OpenBSD: pmeth_lib.c,v 1.30 2023/06/20 14:12:51 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 | */ |
@@ -151,7 +151,7 @@ EVP_PKEY_meth_find(int type) | |||
151 | } | 151 | } |
152 | 152 | ||
153 | static EVP_PKEY_CTX * | 153 | static EVP_PKEY_CTX * |
154 | int_ctx_new(EVP_PKEY *pkey, ENGINE *e, int id) | 154 | evp_pkey_ctx_new(EVP_PKEY *pkey, ENGINE *e, int id) |
155 | { | 155 | { |
156 | EVP_PKEY_CTX *pkey_ctx = NULL; | 156 | EVP_PKEY_CTX *pkey_ctx = NULL; |
157 | const EVP_PKEY_METHOD *pmeth; | 157 | const EVP_PKEY_METHOD *pmeth; |
@@ -259,13 +259,13 @@ EVP_PKEY_meth_free(EVP_PKEY_METHOD *pmeth) | |||
259 | EVP_PKEY_CTX * | 259 | EVP_PKEY_CTX * |
260 | EVP_PKEY_CTX_new(EVP_PKEY *pkey, ENGINE *e) | 260 | EVP_PKEY_CTX_new(EVP_PKEY *pkey, ENGINE *e) |
261 | { | 261 | { |
262 | return int_ctx_new(pkey, e, -1); | 262 | return evp_pkey_ctx_new(pkey, e, -1); |
263 | } | 263 | } |
264 | 264 | ||
265 | EVP_PKEY_CTX * | 265 | EVP_PKEY_CTX * |
266 | EVP_PKEY_CTX_new_id(int id, ENGINE *e) | 266 | EVP_PKEY_CTX_new_id(int id, ENGINE *e) |
267 | { | 267 | { |
268 | return int_ctx_new(NULL, e, id); | 268 | return evp_pkey_ctx_new(NULL, e, id); |
269 | } | 269 | } |
270 | 270 | ||
271 | EVP_PKEY_CTX * | 271 | EVP_PKEY_CTX * |