From 8125bebe702dcf9cd017a89ff37e993121fb18f0 Mon Sep 17 00:00:00 2001 From: beck <> Date: Sat, 12 Nov 2022 12:11:14 +0000 Subject: Hide symbols in libcrypto/pkcs7 This applies the guentherizer 9000(tm) to pkcs7, after moving several pkcs7 funcitions back to pkcs7 that were in x509/x_all.c for reasons known only to the miasma. ok jsing@ --- src/lib/libcrypto/x509/x_all.c | 34 +--------------------------------- 1 file changed, 1 insertion(+), 33 deletions(-) (limited to 'src/lib/libcrypto/x509') diff --git a/src/lib/libcrypto/x509/x_all.c b/src/lib/libcrypto/x509/x_all.c index 0af130f339..ec5ed3dc6f 100644 --- a/src/lib/libcrypto/x509/x_all.c +++ b/src/lib/libcrypto/x509/x_all.c @@ -1,4 +1,4 @@ -/* $OpenBSD: x_all.c,v 1.26 2022/06/26 04:14:43 tb Exp $ */ +/* $OpenBSD: x_all.c,v 1.27 2022/11/12 12:11:14 beck Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -123,30 +123,6 @@ i2d_X509_CRL_fp(FILE *fp, X509_CRL *crl) return ASN1_item_i2d_fp(&X509_CRL_it, fp, crl); } -PKCS7 * -d2i_PKCS7_bio(BIO *bp, PKCS7 **p7) -{ - return ASN1_item_d2i_bio(&PKCS7_it, bp, p7); -} - -int -i2d_PKCS7_bio(BIO *bp, PKCS7 *p7) -{ - return ASN1_item_i2d_bio(&PKCS7_it, bp, p7); -} - -PKCS7 * -d2i_PKCS7_fp(FILE *fp, PKCS7 **p7) -{ - return ASN1_item_d2i_fp(&PKCS7_it, fp, p7); -} - -int -i2d_PKCS7_fp(FILE *fp, PKCS7 *p7) -{ - return ASN1_item_i2d_fp(&PKCS7_it, fp, p7); -} - X509_REQ * d2i_X509_REQ_bio(BIO *bp, X509_REQ **req) { @@ -499,14 +475,6 @@ X509_NAME_digest(const X509_NAME *data, const EVP_MD *type, unsigned char *md, md, len)); } -int -PKCS7_ISSUER_AND_SERIAL_digest(PKCS7_ISSUER_AND_SERIAL *data, - const EVP_MD *type, unsigned char *md, unsigned int *len) -{ - return(ASN1_item_digest(&PKCS7_ISSUER_AND_SERIAL_it, type, - (char *)data, md, len)); -} - int X509_up_ref(X509 *x) { -- cgit v1.2.3-55-g6feb