summaryrefslogtreecommitdiffstats
path: root/lib/libcrypto/evp/p_lib.c
diff options
context:
space:
mode:
authortb <tb@openbsd.org>2018-05-30 15:40:50 +0000
committertb <tb@openbsd.org>2018-05-30 15:40:50 +0000
commit69a55cdbdfbab5253cdb675722b96dc6017237d2 (patch)
treefb675f31440dfabb7b59e0e4f6f87ef98d750e3d /lib/libcrypto/evp/p_lib.c
parentAdd a const qualifier to the `name' argument of (diff)
downloadwireguard-openbsd-69a55cdbdfbab5253cdb675722b96dc6017237d2.tar.xz
wireguard-openbsd-69a55cdbdfbab5253cdb675722b96dc6017237d2.zip
Add a const qualifier to the argument of EVP_PKEY_size().
tested in a bulk build by sthen ok jsing
Diffstat (limited to 'lib/libcrypto/evp/p_lib.c')
-rw-r--r--lib/libcrypto/evp/p_lib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libcrypto/evp/p_lib.c b/lib/libcrypto/evp/p_lib.c
index 9065786d17a..0e4c38e2188 100644
--- a/lib/libcrypto/evp/p_lib.c
+++ b/lib/libcrypto/evp/p_lib.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: p_lib.c,v 1.23 2018/05/13 06:38:46 tb Exp $ */
+/* $OpenBSD: p_lib.c,v 1.24 2018/05/30 15:40:50 tb Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
@@ -93,7 +93,7 @@ EVP_PKEY_bits(const EVP_PKEY *pkey)
}
int
-EVP_PKEY_size(EVP_PKEY *pkey)
+EVP_PKEY_size(const EVP_PKEY *pkey)
{
if (pkey && pkey->ameth && pkey->ameth->pkey_size)
return pkey->ameth->pkey_size(pkey);