summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/dh
diff options
context:
space:
mode:
authortb <>2023-08-12 07:59:48 +0000
committertb <>2023-08-12 07:59:48 +0000
commit2f2b959669dd0ec951ba6f37222b6458832fb82d (patch)
tree0c6b00e179cdde3c49344fb696e1adf55aae50be /src/lib/libcrypto/dh
parentf5928511901ba790469237cdd03eba98ebd97973 (diff)
downloadopenbsd-2f2b959669dd0ec951ba6f37222b6458832fb82d.tar.gz
openbsd-2f2b959669dd0ec951ba6f37222b6458832fb82d.tar.bz2
openbsd-2f2b959669dd0ec951ba6f37222b6458832fb82d.zip
Drop silly int_ prefix from _free() and _size()
Diffstat (limited to 'src/lib/libcrypto/dh')
-rw-r--r--src/lib/libcrypto/dh/dh_ameth.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/lib/libcrypto/dh/dh_ameth.c b/src/lib/libcrypto/dh/dh_ameth.c
index ec9fe43d2b..43beb469f2 100644
--- a/src/lib/libcrypto/dh/dh_ameth.c
+++ b/src/lib/libcrypto/dh/dh_ameth.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: dh_ameth.c,v 1.38 2023/08/12 07:50:47 tb Exp $ */ 1/* $OpenBSD: dh_ameth.c,v 1.39 2023/08/12 07:59:48 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 */
@@ -70,7 +70,7 @@
70#include "evp_local.h" 70#include "evp_local.h"
71 71
72static void 72static void
73int_dh_free(EVP_PKEY *pkey) 73dh_free(EVP_PKEY *pkey)
74{ 74{
75 DH_free(pkey->pkey.dh); 75 DH_free(pkey->pkey.dh);
76} 76}
@@ -388,7 +388,7 @@ do_dh_print(BIO *bp, const DH *x, int indent, ASN1_PCTX *ctx, int ptype)
388} 388}
389 389
390static int 390static int
391int_dh_size(const EVP_PKEY *pkey) 391dh_size(const EVP_PKEY *pkey)
392{ 392{
393 return DH_size(pkey->pkey.dh); 393 return DH_size(pkey->pkey.dh);
394} 394}
@@ -538,7 +538,7 @@ const EVP_PKEY_ASN1_METHOD dh_asn1_meth = {
538 .priv_encode = dh_priv_encode, 538 .priv_encode = dh_priv_encode,
539 .priv_print = dh_private_print, 539 .priv_print = dh_private_print,
540 540
541 .pkey_size = int_dh_size, 541 .pkey_size = dh_size,
542 .pkey_bits = dh_bits, 542 .pkey_bits = dh_bits,
543 .pkey_security_bits = dh_security_bits, 543 .pkey_security_bits = dh_security_bits,
544 544
@@ -549,7 +549,7 @@ const EVP_PKEY_ASN1_METHOD dh_asn1_meth = {
549 .param_cmp = dh_cmp_parameters, 549 .param_cmp = dh_cmp_parameters,
550 .param_print = dh_param_print, 550 .param_print = dh_param_print,
551 551
552 .pkey_free = int_dh_free, 552 .pkey_free = dh_free,
553 553
554 .pkey_check = NULL, 554 .pkey_check = NULL,
555 .pkey_public_check = dh_pkey_public_check, 555 .pkey_public_check = dh_pkey_public_check,