From f7943a7d637c81a04f4e7be8825fd5bd5d278761 Mon Sep 17 00:00:00 2001 From: tb <> Date: Sun, 13 May 2018 06:40:55 +0000 Subject: Add a const qualifier to the argument of EVP_PKEY_get0_asn1(3). tested in a bulk build by sthen ok beck (as part of a larger diff) --- src/lib/libcrypto/asn1/ameth_lib.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/lib/libcrypto/asn1/ameth_lib.c') diff --git a/src/lib/libcrypto/asn1/ameth_lib.c b/src/lib/libcrypto/asn1/ameth_lib.c index b27d72af45..d1798cf4f6 100644 --- a/src/lib/libcrypto/asn1/ameth_lib.c +++ b/src/lib/libcrypto/asn1/ameth_lib.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ameth_lib.c,v 1.16 2017/01/21 04:31:25 jsing Exp $ */ +/* $OpenBSD: ameth_lib.c,v 1.17 2018/05/13 06:40:55 tb Exp $ */ /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL * project 2006. */ @@ -299,7 +299,7 @@ EVP_PKEY_asn1_get0_info(int *ppkey_id, int *ppkey_base_id, int *ppkey_flags, } const EVP_PKEY_ASN1_METHOD* -EVP_PKEY_get0_asn1(EVP_PKEY *pkey) +EVP_PKEY_get0_asn1(const EVP_PKEY *pkey) { return pkey->ameth; } -- cgit v1.2.3-55-g6feb