diff options
author | tb <> | 2024-04-25 16:14:00 +0000 |
---|---|---|
committer | tb <> | 2024-04-25 16:14:00 +0000 |
commit | 77aa3746ee4628931114c01379f6e5679ee994ef (patch) | |
tree | 901d23ee7d2c7600928d1400fa4215bc2c7de6b3 /src | |
parent | c8f4b15f88b5685979d38ab3878846bbf39d57ff (diff) | |
download | openbsd-77aa3746ee4628931114c01379f6e5679ee994ef.tar.gz openbsd-77aa3746ee4628931114c01379f6e5679ee994ef.tar.bz2 openbsd-77aa3746ee4628931114c01379f6e5679ee994ef.zip |
Take pem2.h behind the barn
/*
* This header only exists to break a circular dependency between pem and err
* Ben 30 Jan 1999.
*/
25 years of uselessness is about a quarter century more than enough.
discussed with jsing
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/libcrypto/Makefile | 3 | ||||
-rw-r--r-- | src/lib/libcrypto/pem/pem2.h | 71 |
2 files changed, 1 insertions, 73 deletions
diff --git a/src/lib/libcrypto/Makefile b/src/lib/libcrypto/Makefile index 1e295d17ec..39997b0886 100644 --- a/src/lib/libcrypto/Makefile +++ b/src/lib/libcrypto/Makefile | |||
@@ -1,4 +1,4 @@ | |||
1 | # $OpenBSD: Makefile,v 1.193 2024/04/15 15:55:01 tb Exp $ | 1 | # $OpenBSD: Makefile,v 1.194 2024/04/25 16:14:00 tb Exp $ |
2 | 2 | ||
3 | LIB= crypto | 3 | LIB= crypto |
4 | LIBREBUILD=y | 4 | LIBREBUILD=y |
@@ -707,7 +707,6 @@ HDRS=\ | |||
707 | ${LCRYPTO_SRC}/opensslv.h \ | 707 | ${LCRYPTO_SRC}/opensslv.h \ |
708 | ${LCRYPTO_SRC}/ossl_typ.h \ | 708 | ${LCRYPTO_SRC}/ossl_typ.h \ |
709 | ${LCRYPTO_SRC}/pem/pem.h \ | 709 | ${LCRYPTO_SRC}/pem/pem.h \ |
710 | ${LCRYPTO_SRC}/pem/pem2.h \ | ||
711 | ${LCRYPTO_SRC}/pkcs12/pkcs12.h \ | 710 | ${LCRYPTO_SRC}/pkcs12/pkcs12.h \ |
712 | ${LCRYPTO_SRC}/pkcs7/pkcs7.h \ | 711 | ${LCRYPTO_SRC}/pkcs7/pkcs7.h \ |
713 | ${LCRYPTO_SRC}/poly1305/poly1305.h \ | 712 | ${LCRYPTO_SRC}/poly1305/poly1305.h \ |
diff --git a/src/lib/libcrypto/pem/pem2.h b/src/lib/libcrypto/pem/pem2.h deleted file mode 100644 index 19525b4a45..0000000000 --- a/src/lib/libcrypto/pem/pem2.h +++ /dev/null | |||
@@ -1,71 +0,0 @@ | |||
1 | /* $OpenBSD: pem2.h,v 1.5 2014/06/12 15:49:30 deraadt Exp $ */ | ||
2 | /* ==================================================================== | ||
3 | * Copyright (c) 1999 The OpenSSL Project. All rights reserved. | ||
4 | * | ||
5 | * Redistribution and use in source and binary forms, with or without | ||
6 | * modification, are permitted provided that the following conditions | ||
7 | * are met: | ||
8 | * | ||
9 | * 1. Redistributions of source code must retain the above copyright | ||
10 | * notice, this list of conditions and the following disclaimer. | ||
11 | * | ||
12 | * 2. Redistributions in binary form must reproduce the above copyright | ||
13 | * notice, this list of conditions and the following disclaimer in | ||
14 | * the documentation and/or other materials provided with the | ||
15 | * distribution. | ||
16 | * | ||
17 | * 3. All advertising materials mentioning features or use of this | ||
18 | * software must display the following acknowledgment: | ||
19 | * "This product includes software developed by the OpenSSL Project | ||
20 | * for use in the OpenSSL Toolkit. (http://www.OpenSSL.org/)" | ||
21 | * | ||
22 | * 4. The names "OpenSSL Toolkit" and "OpenSSL Project" must not be used to | ||
23 | * endorse or promote products derived from this software without | ||
24 | * prior written permission. For written permission, please contact | ||
25 | * licensing@OpenSSL.org. | ||
26 | * | ||
27 | * 5. Products derived from this software may not be called "OpenSSL" | ||
28 | * nor may "OpenSSL" appear in their names without prior written | ||
29 | * permission of the OpenSSL Project. | ||
30 | * | ||
31 | * 6. Redistributions of any form whatsoever must retain the following | ||
32 | * acknowledgment: | ||
33 | * "This product includes software developed by the OpenSSL Project | ||
34 | * for use in the OpenSSL Toolkit (http://www.OpenSSL.org/)" | ||
35 | * | ||
36 | * THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY | ||
37 | * EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | ||
38 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR | ||
39 | * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE OpenSSL PROJECT OR | ||
40 | * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
41 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT | ||
42 | * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; | ||
43 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||
44 | * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, | ||
45 | * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) | ||
46 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED | ||
47 | * OF THE POSSIBILITY OF SUCH DAMAGE. | ||
48 | * ==================================================================== | ||
49 | * | ||
50 | * This product includes cryptographic software written by Eric Young | ||
51 | * (eay@cryptsoft.com). This product includes software written by Tim | ||
52 | * Hudson (tjh@cryptsoft.com). | ||
53 | * | ||
54 | */ | ||
55 | |||
56 | /* | ||
57 | * This header only exists to break a circular dependency between pem and err | ||
58 | * Ben 30 Jan 1999. | ||
59 | */ | ||
60 | |||
61 | #ifdef __cplusplus | ||
62 | extern "C" { | ||
63 | #endif | ||
64 | |||
65 | #ifndef HEADER_PEM_H | ||
66 | void ERR_load_PEM_strings(void); | ||
67 | #endif | ||
68 | |||
69 | #ifdef __cplusplus | ||
70 | } | ||
71 | #endif | ||