From 08e9df840cf3da24d6fc4980faf52eebd8fba3bb Mon Sep 17 00:00:00 2001 From: tb Date: Thu, 26 Oct 2023 08:01:56 +0000 Subject: [PATCH] Hide X509_ALGOR_set_md() for LIBRESSL_INTERNAL --- lib/libcrypto/x509/x509.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/libcrypto/x509/x509.h b/lib/libcrypto/x509/x509.h index f76576f61c1..a3a37718b8a 100644 --- a/lib/libcrypto/x509/x509.h +++ b/lib/libcrypto/x509/x509.h @@ -1,4 +1,4 @@ -/* $OpenBSD: x509.h,v 1.101 2023/07/28 15:50:33 tb Exp $ */ +/* $OpenBSD: x509.h,v 1.102 2023/10/26 08:01:56 tb Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -527,7 +527,9 @@ X509_ALGOR *X509_ALGOR_dup(X509_ALGOR *xn); int X509_ALGOR_set0(X509_ALGOR *alg, ASN1_OBJECT *aobj, int ptype, void *pval); void X509_ALGOR_get0(const ASN1_OBJECT **paobj, int *pptype, const void **ppval, const X509_ALGOR *algor); +#ifndef LIBRESSL_INTERNAL void X509_ALGOR_set_md(X509_ALGOR *alg, const EVP_MD *md); +#endif int X509_ALGOR_cmp(const X509_ALGOR *a, const X509_ALGOR *b); X509_NAME *X509_NAME_dup(X509_NAME *xn); -- 2.20.1