From 7ea401adb2804ed6d2775743d6b107919b67360c Mon Sep 17 00:00:00 2001 From: tb <> Date: Tue, 20 Jun 2023 14:12:51 +0000 Subject: Rename int_ctx_new() into evp_pkey_ctx_new() int_ctx_new() is a bad, generic, nondescriptive name. requested by jsing --- src/lib/libcrypto/evp/pmeth_lib.c | 8 ++++---- 1 file 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 @@ -/* $OpenBSD: pmeth_lib.c,v 1.29 2023/06/20 14:10:05 tb Exp $ */ +/* $OpenBSD: pmeth_lib.c,v 1.30 2023/06/20 14:12:51 tb Exp $ */ /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL * project 2006. */ @@ -151,7 +151,7 @@ EVP_PKEY_meth_find(int type) } static EVP_PKEY_CTX * -int_ctx_new(EVP_PKEY *pkey, ENGINE *e, int id) +evp_pkey_ctx_new(EVP_PKEY *pkey, ENGINE *e, int id) { EVP_PKEY_CTX *pkey_ctx = NULL; const EVP_PKEY_METHOD *pmeth; @@ -259,13 +259,13 @@ EVP_PKEY_meth_free(EVP_PKEY_METHOD *pmeth) EVP_PKEY_CTX * EVP_PKEY_CTX_new(EVP_PKEY *pkey, ENGINE *e) { - return int_ctx_new(pkey, e, -1); + return evp_pkey_ctx_new(pkey, e, -1); } EVP_PKEY_CTX * EVP_PKEY_CTX_new_id(int id, ENGINE *e) { - return int_ctx_new(NULL, e, id); + return evp_pkey_ctx_new(NULL, e, id); } EVP_PKEY_CTX * -- cgit v1.2.3-55-g6feb