From e50933f7979a361b1d638006d37a0cfd6ad3c6d7 Mon Sep 17 00:00:00 2001 From: tb <> Date: Sun, 13 May 2018 06:37:14 +0000 Subject: 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) --- src/lib/libcrypto/evp/p_lib.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/lib/libcrypto/evp/p_lib.c') 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 @@ -/* $OpenBSD: p_lib.c,v 1.21 2018/04/14 07:09:21 tb Exp $ */ +/* $OpenBSD: p_lib.c,v 1.22 2018/05/13 06:37:14 tb Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -85,7 +85,7 @@ static void EVP_PKEY_free_it(EVP_PKEY *x); int -EVP_PKEY_bits(EVP_PKEY *pkey) +EVP_PKEY_bits(const EVP_PKEY *pkey) { if (pkey && pkey->ameth && pkey->ameth->pkey_bits) return pkey->ameth->pkey_bits(pkey); -- cgit v1.2.3-55-g6feb