diff options
-rw-r--r-- | src/lib/libcrypto/evp/evp.h | 4 | ||||
-rw-r--r-- | src/lib/libcrypto/evp/p_lib.c | 4 |
2 files changed, 4 insertions, 4 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); |
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); |