diff options
author | tb <> | 2018-05-13 06:37:14 +0000 |
---|---|---|
committer | tb <> | 2018-05-13 06:37:14 +0000 |
commit | 67a5887b5657ca7a8d1df7226f29797a4a68ff94 (patch) | |
tree | 11e1915d9758ce64eadbc07d51c288672c52a6af /src/lib/libcrypto/evp/p_lib.c | |
parent | ed903a858273ee9f546469d168676749236c7401 (diff) | |
download | openbsd-67a5887b5657ca7a8d1df7226f29797a4a68ff94.tar.gz openbsd-67a5887b5657ca7a8d1df7226f29797a4a68ff94.tar.bz2 openbsd-67a5887b5657ca7a8d1df7226f29797a4a68ff94.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 'src/lib/libcrypto/evp/p_lib.c')
-rw-r--r-- | src/lib/libcrypto/evp/p_lib.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libcrypto/evp/p_lib.c b/src/lib/libcrypto/evp/p_lib.c index b14c95f14d..fab1eeb022 100644 --- a/src/lib/libcrypto/evp/p_lib.c +++ b/src/lib/libcrypto/evp/p_lib.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: p_lib.c,v 1.21 2018/04/14 07:09:21 tb Exp $ */ | 1 | /* $OpenBSD: p_lib.c,v 1.22 2018/05/13 06:37:14 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -85,7 +85,7 @@ | |||
85 | static void EVP_PKEY_free_it(EVP_PKEY *x); | 85 | static void EVP_PKEY_free_it(EVP_PKEY *x); |
86 | 86 | ||
87 | int | 87 | int |
88 | EVP_PKEY_bits(EVP_PKEY *pkey) | 88 | EVP_PKEY_bits(const EVP_PKEY *pkey) |
89 | { | 89 | { |
90 | if (pkey && pkey->ameth && pkey->ameth->pkey_bits) | 90 | if (pkey && pkey->ameth && pkey->ameth->pkey_bits) |
91 | return pkey->ameth->pkey_bits(pkey); | 91 | return pkey->ameth->pkey_bits(pkey); |