diff options
author | tb <> | 2023-10-26 08:01:56 +0000 |
---|---|---|
committer | tb <> | 2023-10-26 08:01:56 +0000 |
commit | b969eb0ef11e11052862b5b8e9613e036c77bce0 (patch) | |
tree | 2ff00f8a22d8f79194874c01153706992d9bbd4f | |
parent | dd01b43e8ec4833e5d6d6bac95b032b7039797e5 (diff) | |
download | openbsd-b969eb0ef11e11052862b5b8e9613e036c77bce0.tar.gz openbsd-b969eb0ef11e11052862b5b8e9613e036c77bce0.tar.bz2 openbsd-b969eb0ef11e11052862b5b8e9613e036c77bce0.zip |
Hide X509_ALGOR_set_md() for LIBRESSL_INTERNAL
-rw-r--r-- | src/lib/libcrypto/x509/x509.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/libcrypto/x509/x509.h b/src/lib/libcrypto/x509/x509.h index f76576f61c..a3a37718b8 100644 --- a/src/lib/libcrypto/x509/x509.h +++ b/src/lib/libcrypto/x509/x509.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: x509.h,v 1.101 2023/07/28 15:50:33 tb Exp $ */ | 1 | /* $OpenBSD: x509.h,v 1.102 2023/10/26 08:01:56 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -527,7 +527,9 @@ X509_ALGOR *X509_ALGOR_dup(X509_ALGOR *xn); | |||
527 | int X509_ALGOR_set0(X509_ALGOR *alg, ASN1_OBJECT *aobj, int ptype, void *pval); | 527 | int X509_ALGOR_set0(X509_ALGOR *alg, ASN1_OBJECT *aobj, int ptype, void *pval); |
528 | void X509_ALGOR_get0(const ASN1_OBJECT **paobj, int *pptype, const void **ppval, | 528 | void X509_ALGOR_get0(const ASN1_OBJECT **paobj, int *pptype, const void **ppval, |
529 | const X509_ALGOR *algor); | 529 | const X509_ALGOR *algor); |
530 | #ifndef LIBRESSL_INTERNAL | ||
530 | void X509_ALGOR_set_md(X509_ALGOR *alg, const EVP_MD *md); | 531 | void X509_ALGOR_set_md(X509_ALGOR *alg, const EVP_MD *md); |
532 | #endif | ||
531 | int X509_ALGOR_cmp(const X509_ALGOR *a, const X509_ALGOR *b); | 533 | int X509_ALGOR_cmp(const X509_ALGOR *a, const X509_ALGOR *b); |
532 | 534 | ||
533 | X509_NAME *X509_NAME_dup(X509_NAME *xn); | 535 | X509_NAME *X509_NAME_dup(X509_NAME *xn); |