diff options
author | beck <> | 2022-11-12 12:11:14 +0000 |
---|---|---|
committer | beck <> | 2022-11-12 12:11:14 +0000 |
commit | 8125bebe702dcf9cd017a89ff37e993121fb18f0 (patch) | |
tree | fc201648a07e156fe9478f00bb73c7dd8c3c87e3 /src/lib/libcrypto/x509/x_all.c | |
parent | fc6cccc0c020e8fb32b30a3ff825f0c64a0af374 (diff) | |
download | openbsd-8125bebe702dcf9cd017a89ff37e993121fb18f0.tar.gz openbsd-8125bebe702dcf9cd017a89ff37e993121fb18f0.tar.bz2 openbsd-8125bebe702dcf9cd017a89ff37e993121fb18f0.zip |
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@
Diffstat (limited to 'src/lib/libcrypto/x509/x_all.c')
-rw-r--r-- | src/lib/libcrypto/x509/x_all.c | 34 |
1 files changed, 1 insertions, 33 deletions
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 @@ | |||
1 | /* $OpenBSD: x_all.c,v 1.26 2022/06/26 04:14:43 tb Exp $ */ | 1 | /* $OpenBSD: x_all.c,v 1.27 2022/11/12 12:11:14 beck 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 | * |
@@ -123,30 +123,6 @@ i2d_X509_CRL_fp(FILE *fp, X509_CRL *crl) | |||
123 | return ASN1_item_i2d_fp(&X509_CRL_it, fp, crl); | 123 | return ASN1_item_i2d_fp(&X509_CRL_it, fp, crl); |
124 | } | 124 | } |
125 | 125 | ||
126 | PKCS7 * | ||
127 | d2i_PKCS7_bio(BIO *bp, PKCS7 **p7) | ||
128 | { | ||
129 | return ASN1_item_d2i_bio(&PKCS7_it, bp, p7); | ||
130 | } | ||
131 | |||
132 | int | ||
133 | i2d_PKCS7_bio(BIO *bp, PKCS7 *p7) | ||
134 | { | ||
135 | return ASN1_item_i2d_bio(&PKCS7_it, bp, p7); | ||
136 | } | ||
137 | |||
138 | PKCS7 * | ||
139 | d2i_PKCS7_fp(FILE *fp, PKCS7 **p7) | ||
140 | { | ||
141 | return ASN1_item_d2i_fp(&PKCS7_it, fp, p7); | ||
142 | } | ||
143 | |||
144 | int | ||
145 | i2d_PKCS7_fp(FILE *fp, PKCS7 *p7) | ||
146 | { | ||
147 | return ASN1_item_i2d_fp(&PKCS7_it, fp, p7); | ||
148 | } | ||
149 | |||
150 | X509_REQ * | 126 | X509_REQ * |
151 | d2i_X509_REQ_bio(BIO *bp, X509_REQ **req) | 127 | d2i_X509_REQ_bio(BIO *bp, X509_REQ **req) |
152 | { | 128 | { |
@@ -500,14 +476,6 @@ X509_NAME_digest(const X509_NAME *data, const EVP_MD *type, unsigned char *md, | |||
500 | } | 476 | } |
501 | 477 | ||
502 | int | 478 | int |
503 | PKCS7_ISSUER_AND_SERIAL_digest(PKCS7_ISSUER_AND_SERIAL *data, | ||
504 | const EVP_MD *type, unsigned char *md, unsigned int *len) | ||
505 | { | ||
506 | return(ASN1_item_digest(&PKCS7_ISSUER_AND_SERIAL_it, type, | ||
507 | (char *)data, md, len)); | ||
508 | } | ||
509 | |||
510 | int | ||
511 | X509_up_ref(X509 *x) | 479 | X509_up_ref(X509 *x) |
512 | { | 480 | { |
513 | int i = CRYPTO_add(&x->references, 1, CRYPTO_LOCK_X509); | 481 | int i = CRYPTO_add(&x->references, 1, CRYPTO_LOCK_X509); |