From a25a0cc2cb4d355062b3c8b6944d4e2da213facd Mon Sep 17 00:00:00 2001 From: tb <> Date: Tue, 1 May 2018 19:01:28 +0000 Subject: Convert a handful of X509_*() functions to take const as in OpenSSL. tested in a bulk by sthen ok jsing --- src/lib/libcrypto/x509/x509_cmp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/lib/libcrypto/x509/x509_cmp.c') diff --git a/src/lib/libcrypto/x509/x509_cmp.c b/src/lib/libcrypto/x509/x509_cmp.c index ab0dbcba39..73d060f404 100644 --- a/src/lib/libcrypto/x509/x509_cmp.c +++ b/src/lib/libcrypto/x509/x509_cmp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: x509_cmp.c,v 1.30 2018/03/17 14:57:23 jsing Exp $ */ +/* $OpenBSD: x509_cmp.c,v 1.31 2018/05/01 19:01:28 tb Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -327,7 +327,7 @@ X509_get_pubkey(X509 *x) } EVP_PKEY * -X509_get0_pubkey(X509 *x) +X509_get0_pubkey(const X509 *x) { if (x == NULL || x->cert_info == NULL) return (NULL); -- cgit v1.2.3-55-g6feb