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/evp.h | |
| 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/evp.h')
| -rw-r--r-- | src/lib/libcrypto/evp/evp.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libcrypto/evp/evp.h b/src/lib/libcrypto/evp/evp.h index fd9d4ed263..ec09deef46 100644 --- a/src/lib/libcrypto/evp/evp.h +++ b/src/lib/libcrypto/evp/evp.h | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: evp.h,v 1.60 2018/05/13 06:35:10 tb Exp $ */ | 1 | /* $OpenBSD: evp.h,v 1.61 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 | * |
| @@ -867,7 +867,7 @@ int EVP_PKEY_encrypt_old(unsigned char *enc_key, const unsigned char *key, | |||
| 867 | int EVP_PKEY_type(int type); | 867 | int EVP_PKEY_type(int type); |
| 868 | int EVP_PKEY_id(const EVP_PKEY *pkey); | 868 | int EVP_PKEY_id(const EVP_PKEY *pkey); |
| 869 | int EVP_PKEY_base_id(const EVP_PKEY *pkey); | 869 | int EVP_PKEY_base_id(const EVP_PKEY *pkey); |
| 870 | int EVP_PKEY_bits(EVP_PKEY *pkey); | 870 | int EVP_PKEY_bits(const EVP_PKEY *pkey); |
| 871 | int EVP_PKEY_size(EVP_PKEY *pkey); | 871 | int EVP_PKEY_size(EVP_PKEY *pkey); |
| 872 | int EVP_PKEY_set_type(EVP_PKEY *pkey, int type); | 872 | int EVP_PKEY_set_type(EVP_PKEY *pkey, int type); |
| 873 | int EVP_PKEY_set_type_str(EVP_PKEY *pkey, const char *str, int len); | 873 | int EVP_PKEY_set_type_str(EVP_PKEY *pkey, const char *str, int len); |
