From ebeb5fa6115553ce7333b9b68a456e000fac881d 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/evp/evp.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/lib/libcrypto/evp') diff --git a/src/lib/libcrypto/evp/evp.h b/src/lib/libcrypto/evp/evp.h index 4f2c867196..4f1c5c5d81 100644 --- a/src/lib/libcrypto/evp/evp.h +++ b/src/lib/libcrypto/evp/evp.h @@ -1,4 +1,4 @@ -/* $OpenBSD: evp.h,v 1.62 2018/05/13 06:38:46 tb Exp $ */ +/* $OpenBSD: evp.h,v 1.63 2018/05/13 06:40:55 tb Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -996,7 +996,7 @@ int EVP_PKEY_asn1_get0_info(int *ppkey_id, int *pkey_base_id, int *ppkey_flags, const char **pinfo, const char **ppem_str, const EVP_PKEY_ASN1_METHOD *ameth); -const EVP_PKEY_ASN1_METHOD* EVP_PKEY_get0_asn1(EVP_PKEY *pkey); +const EVP_PKEY_ASN1_METHOD* EVP_PKEY_get0_asn1(const EVP_PKEY *pkey); EVP_PKEY_ASN1_METHOD* EVP_PKEY_asn1_new(int id, int flags, const char *pem_str, const char *info); void EVP_PKEY_asn1_copy(EVP_PKEY_ASN1_METHOD *dst, -- cgit v1.2.3-55-g6feb