diff options
Diffstat (limited to 'src')
| -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 4f1c5c5d81..c557ba9f39 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.63 2018/05/13 06:40:55 tb Exp $ */ | 1 | /* $OpenBSD: evp.h,v 1.64 2018/05/30 15:40:50 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 | * |
| @@ -868,7 +868,7 @@ 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(const 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(const 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); |
| 874 | int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key); | 874 | int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key); |
diff --git a/src/lib/libcrypto/evp/p_lib.c b/src/lib/libcrypto/evp/p_lib.c index 9065786d17..0e4c38e218 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.23 2018/05/13 06:38:46 tb Exp $ */ | 1 | /* $OpenBSD: p_lib.c,v 1.24 2018/05/30 15:40:50 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 | * |
| @@ -93,7 +93,7 @@ EVP_PKEY_bits(const EVP_PKEY *pkey) | |||
| 93 | } | 93 | } |
| 94 | 94 | ||
| 95 | int | 95 | int |
| 96 | EVP_PKEY_size(EVP_PKEY *pkey) | 96 | EVP_PKEY_size(const EVP_PKEY *pkey) |
| 97 | { | 97 | { |
| 98 | if (pkey && pkey->ameth && pkey->ameth->pkey_size) | 98 | if (pkey && pkey->ameth && pkey->ameth->pkey_size) |
| 99 | return pkey->ameth->pkey_size(pkey); | 99 | return pkey->ameth->pkey_size(pkey); |
