diff options
author | 2018-05-13 06:37:14 +0000 | |
---|---|---|
committer | 2018-05-13 06:37:14 +0000 | |
commit | ea0d18b838f07c07d4a06d0d8c1009c2e02543c9 (patch) | |
tree | 4ede18ceea024862329c52888fd09603ee1126d8 /lib/libcrypto/evp/p_lib.c | |
parent | Add a const qualifier to the second argument of EVP_DigestVerifyFinal(3). (diff) | |
download | wireguard-openbsd-ea0d18b838f07c07d4a06d0d8c1009c2e02543c9.tar.xz wireguard-openbsd-ea0d18b838f07c07d4a06d0d8c1009c2e02543c9.zip |
Add a const qualifier to the argument of EVP_PKEY_bits(3).
tested in a bulk build by sthen
ok beck (as part of a larger diff)
Diffstat (limited to 'lib/libcrypto/evp/p_lib.c')
-rw-r--r-- | lib/libcrypto/evp/p_lib.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libcrypto/evp/p_lib.c b/lib/libcrypto/evp/p_lib.c index b14c95f14df..fab1eeb0229 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.21 2018/04/14 07:09:21 tb Exp $ */ +/* $OpenBSD: p_lib.c,v 1.22 2018/05/13 06:37:14 tb Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -85,7 +85,7 @@ static void EVP_PKEY_free_it(EVP_PKEY *x); int -EVP_PKEY_bits(EVP_PKEY *pkey) +EVP_PKEY_bits(const EVP_PKEY *pkey) { if (pkey && pkey->ameth && pkey->ameth->pkey_bits) return pkey->ameth->pkey_bits(pkey); |