summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/evp/p_lib.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/evp/p_lib.c')
-rw-r--r--src/lib/libcrypto/evp/p_lib.c4
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 @@
85static void EVP_PKEY_free_it(EVP_PKEY *x); 85static void EVP_PKEY_free_it(EVP_PKEY *x);
86 86
87int 87int
88EVP_PKEY_bits(EVP_PKEY *pkey) 88EVP_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);