diff options
Diffstat (limited to 'src/lib/libcrypto/evp')
40 files changed, 155 insertions, 53 deletions
diff --git a/src/lib/libcrypto/evp/c_all.c b/src/lib/libcrypto/evp/c_all.c index cbbca62195..d5afe8e94d 100644 --- a/src/lib/libcrypto/evp/c_all.c +++ b/src/lib/libcrypto/evp/c_all.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: c_all.c,v 1.13 2014/06/12 15:49:29 deraadt Exp $ */ | 1 | /* $OpenBSD: c_all.c,v 1.14 2014/07/10 22:45:57 jsing 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 | * |
@@ -58,6 +58,8 @@ | |||
58 | 58 | ||
59 | #include <stdio.h> | 59 | #include <stdio.h> |
60 | 60 | ||
61 | #include <openssl/opensslconf.h> | ||
62 | |||
61 | #include <openssl/conf.h> | 63 | #include <openssl/conf.h> |
62 | #include <openssl/evp.h> | 64 | #include <openssl/evp.h> |
63 | 65 | ||
diff --git a/src/lib/libcrypto/evp/c_allc.c b/src/lib/libcrypto/evp/c_allc.c index 804bd6950f..a4c796b6d5 100644 --- a/src/lib/libcrypto/evp/c_allc.c +++ b/src/lib/libcrypto/evp/c_allc.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: c_allc.c,v 1.11 2014/06/12 15:49:29 deraadt Exp $ */ | 1 | /* $OpenBSD: c_allc.c,v 1.12 2014/07/10 22:45:57 jsing 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 | * |
@@ -57,6 +57,9 @@ | |||
57 | */ | 57 | */ |
58 | 58 | ||
59 | #include <stdio.h> | 59 | #include <stdio.h> |
60 | |||
61 | #include <openssl/opensslconf.h> | ||
62 | |||
60 | #include "cryptlib.h" | 63 | #include "cryptlib.h" |
61 | #include <openssl/evp.h> | 64 | #include <openssl/evp.h> |
62 | #include <openssl/pkcs12.h> | 65 | #include <openssl/pkcs12.h> |
diff --git a/src/lib/libcrypto/evp/c_alld.c b/src/lib/libcrypto/evp/c_alld.c index 9b589ae7ec..16726b6caa 100644 --- a/src/lib/libcrypto/evp/c_alld.c +++ b/src/lib/libcrypto/evp/c_alld.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: c_alld.c,v 1.9 2014/06/12 15:49:29 deraadt Exp $ */ | 1 | /* $OpenBSD: c_alld.c,v 1.10 2014/07/10 22:45:57 jsing 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 | * |
@@ -57,6 +57,9 @@ | |||
57 | */ | 57 | */ |
58 | 58 | ||
59 | #include <stdio.h> | 59 | #include <stdio.h> |
60 | |||
61 | #include <openssl/opensslconf.h> | ||
62 | |||
60 | #include "cryptlib.h" | 63 | #include "cryptlib.h" |
61 | #include <openssl/evp.h> | 64 | #include <openssl/evp.h> |
62 | #include <openssl/pkcs12.h> | 65 | #include <openssl/pkcs12.h> |
diff --git a/src/lib/libcrypto/evp/digest.c b/src/lib/libcrypto/evp/digest.c index 5d5799a49f..e1ce7dd3a3 100644 --- a/src/lib/libcrypto/evp/digest.c +++ b/src/lib/libcrypto/evp/digest.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: digest.c,v 1.19 2014/07/10 13:58:22 jsing Exp $ */ | 1 | /* $OpenBSD: digest.c,v 1.20 2014/07/10 22:45:57 jsing 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 | * |
@@ -112,6 +112,8 @@ | |||
112 | #include <stdio.h> | 112 | #include <stdio.h> |
113 | #include <string.h> | 113 | #include <string.h> |
114 | 114 | ||
115 | #include <openssl/opensslconf.h> | ||
116 | |||
115 | #include "cryptlib.h" | 117 | #include "cryptlib.h" |
116 | #include <openssl/objects.h> | 118 | #include <openssl/objects.h> |
117 | #include <openssl/evp.h> | 119 | #include <openssl/evp.h> |
diff --git a/src/lib/libcrypto/evp/e_aes.c b/src/lib/libcrypto/evp/e_aes.c index f40bcf8bd3..fb767d9619 100644 --- a/src/lib/libcrypto/evp/e_aes.c +++ b/src/lib/libcrypto/evp/e_aes.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: e_aes.c,v 1.22 2014/06/15 22:53:21 tedu Exp $ */ | 1 | /* $OpenBSD: e_aes.c,v 1.23 2014/07/10 22:45:57 jsing Exp $ */ |
2 | /* ==================================================================== | 2 | /* ==================================================================== |
3 | * Copyright (c) 2001-2011 The OpenSSL Project. All rights reserved. | 3 | * Copyright (c) 2001-2011 The OpenSSL Project. All rights reserved. |
4 | * | 4 | * |
@@ -49,16 +49,19 @@ | |||
49 | * | 49 | * |
50 | */ | 50 | */ |
51 | 51 | ||
52 | #include <assert.h> | ||
53 | #include <string.h> | ||
54 | |||
52 | #include <openssl/opensslconf.h> | 55 | #include <openssl/opensslconf.h> |
56 | |||
53 | #ifndef OPENSSL_NO_AES | 57 | #ifndef OPENSSL_NO_AES |
54 | #include <openssl/evp.h> | ||
55 | #include <openssl/err.h> | ||
56 | #include <string.h> | ||
57 | #include <assert.h> | ||
58 | #include <openssl/aes.h> | 58 | #include <openssl/aes.h> |
59 | #include <openssl/err.h> | ||
60 | #include <openssl/evp.h> | ||
61 | #include <openssl/rand.h> | ||
62 | |||
59 | #include "evp_locl.h" | 63 | #include "evp_locl.h" |
60 | #include "modes_lcl.h" | 64 | #include "modes_lcl.h" |
61 | #include <openssl/rand.h> | ||
62 | 65 | ||
63 | typedef struct { | 66 | typedef struct { |
64 | AES_KEY ks; | 67 | AES_KEY ks; |
diff --git a/src/lib/libcrypto/evp/e_aes_cbc_hmac_sha1.c b/src/lib/libcrypto/evp/e_aes_cbc_hmac_sha1.c index c38ab11280..a9a5cf1ca5 100644 --- a/src/lib/libcrypto/evp/e_aes_cbc_hmac_sha1.c +++ b/src/lib/libcrypto/evp/e_aes_cbc_hmac_sha1.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: e_aes_cbc_hmac_sha1.c,v 1.6 2014/06/12 15:49:29 deraadt Exp $ */ | 1 | /* $OpenBSD: e_aes_cbc_hmac_sha1.c,v 1.7 2014/07/10 22:45:57 jsing Exp $ */ |
2 | /* ==================================================================== | 2 | /* ==================================================================== |
3 | * Copyright (c) 2011-2013 The OpenSSL Project. All rights reserved. | 3 | * Copyright (c) 2011-2013 The OpenSSL Project. All rights reserved. |
4 | * | 4 | * |
@@ -48,11 +48,11 @@ | |||
48 | * ==================================================================== | 48 | * ==================================================================== |
49 | */ | 49 | */ |
50 | 50 | ||
51 | #include <openssl/opensslconf.h> | ||
52 | |||
53 | #include <stdio.h> | 51 | #include <stdio.h> |
54 | #include <string.h> | 52 | #include <string.h> |
55 | 53 | ||
54 | #include <openssl/opensslconf.h> | ||
55 | |||
56 | #if !defined(OPENSSL_NO_AES) && !defined(OPENSSL_NO_SHA1) | 56 | #if !defined(OPENSSL_NO_AES) && !defined(OPENSSL_NO_SHA1) |
57 | 57 | ||
58 | #include <openssl/evp.h> | 58 | #include <openssl/evp.h> |
diff --git a/src/lib/libcrypto/evp/e_bf.c b/src/lib/libcrypto/evp/e_bf.c index 06c734783e..fe133fb8ea 100644 --- a/src/lib/libcrypto/evp/e_bf.c +++ b/src/lib/libcrypto/evp/e_bf.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: e_bf.c,v 1.6 2014/06/12 15:49:29 deraadt Exp $ */ | 1 | /* $OpenBSD: e_bf.c,v 1.7 2014/07/10 22:45:57 jsing 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 | * |
@@ -57,6 +57,9 @@ | |||
57 | */ | 57 | */ |
58 | 58 | ||
59 | #include <stdio.h> | 59 | #include <stdio.h> |
60 | |||
61 | #include <openssl/opensslconf.h> | ||
62 | |||
60 | #include "cryptlib.h" | 63 | #include "cryptlib.h" |
61 | #ifndef OPENSSL_NO_BF | 64 | #ifndef OPENSSL_NO_BF |
62 | #include <openssl/evp.h> | 65 | #include <openssl/evp.h> |
diff --git a/src/lib/libcrypto/evp/e_camellia.c b/src/lib/libcrypto/evp/e_camellia.c index 871bada59e..4868c98c5d 100644 --- a/src/lib/libcrypto/evp/e_camellia.c +++ b/src/lib/libcrypto/evp/e_camellia.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: e_camellia.c,v 1.5 2014/06/12 15:49:29 deraadt Exp $ */ | 1 | /* $OpenBSD: e_camellia.c,v 1.6 2014/07/10 22:45:57 jsing Exp $ */ |
2 | /* ==================================================================== | 2 | /* ==================================================================== |
3 | * Copyright (c) 2006 The OpenSSL Project. All rights reserved. | 3 | * Copyright (c) 2006 The OpenSSL Project. All rights reserved. |
4 | * | 4 | * |
@@ -53,12 +53,14 @@ | |||
53 | * | 53 | * |
54 | */ | 54 | */ |
55 | 55 | ||
56 | #include <assert.h> | ||
57 | #include <string.h> | ||
58 | |||
56 | #include <openssl/opensslconf.h> | 59 | #include <openssl/opensslconf.h> |
60 | |||
57 | #ifndef OPENSSL_NO_CAMELLIA | 61 | #ifndef OPENSSL_NO_CAMELLIA |
58 | #include <openssl/evp.h> | 62 | #include <openssl/evp.h> |
59 | #include <openssl/err.h> | 63 | #include <openssl/err.h> |
60 | #include <string.h> | ||
61 | #include <assert.h> | ||
62 | #include <openssl/camellia.h> | 64 | #include <openssl/camellia.h> |
63 | #include "evp_locl.h" | 65 | #include "evp_locl.h" |
64 | 66 | ||
diff --git a/src/lib/libcrypto/evp/e_cast.c b/src/lib/libcrypto/evp/e_cast.c index ee97f49c2e..2476bf2799 100644 --- a/src/lib/libcrypto/evp/e_cast.c +++ b/src/lib/libcrypto/evp/e_cast.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: e_cast.c,v 1.5 2014/06/12 15:49:29 deraadt Exp $ */ | 1 | /* $OpenBSD: e_cast.c,v 1.6 2014/07/10 22:45:57 jsing 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 | * |
@@ -57,6 +57,9 @@ | |||
57 | */ | 57 | */ |
58 | 58 | ||
59 | #include <stdio.h> | 59 | #include <stdio.h> |
60 | |||
61 | #include <openssl/opensslconf.h> | ||
62 | |||
60 | #include "cryptlib.h" | 63 | #include "cryptlib.h" |
61 | 64 | ||
62 | #ifndef OPENSSL_NO_CAST | 65 | #ifndef OPENSSL_NO_CAST |
diff --git a/src/lib/libcrypto/evp/e_chacha.c b/src/lib/libcrypto/evp/e_chacha.c index d1a1c59ae6..0a5ab98cdb 100644 --- a/src/lib/libcrypto/evp/e_chacha.c +++ b/src/lib/libcrypto/evp/e_chacha.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: e_chacha.c,v 1.3 2014/06/12 15:49:29 deraadt Exp $ */ | 1 | /* $OpenBSD: e_chacha.c,v 1.4 2014/07/10 22:45:57 jsing Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2014 Joel Sing <jsing@openbsd.org> | 3 | * Copyright (c) 2014 Joel Sing <jsing@openbsd.org> |
4 | * | 4 | * |
@@ -15,6 +15,8 @@ | |||
15 | * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | 15 | * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
16 | */ | 16 | */ |
17 | 17 | ||
18 | #include <openssl/opensslconf.h> | ||
19 | |||
18 | #ifndef OPENSSL_NO_CHACHA | 20 | #ifndef OPENSSL_NO_CHACHA |
19 | 21 | ||
20 | #include <openssl/chacha.h> | 22 | #include <openssl/chacha.h> |
diff --git a/src/lib/libcrypto/evp/e_chacha20poly1305.c b/src/lib/libcrypto/evp/e_chacha20poly1305.c index 90d8a9c7b8..da1e036668 100644 --- a/src/lib/libcrypto/evp/e_chacha20poly1305.c +++ b/src/lib/libcrypto/evp/e_chacha20poly1305.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: e_chacha20poly1305.c,v 1.7 2014/06/21 15:30:36 jsing Exp $ */ | 1 | /* $OpenBSD: e_chacha20poly1305.c,v 1.8 2014/07/10 22:45:57 jsing Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2014, Google Inc. | 3 | * Copyright (c) 2014, Google Inc. |
4 | * | 4 | * |
@@ -17,14 +17,16 @@ | |||
17 | 17 | ||
18 | #include <stdint.h> | 18 | #include <stdint.h> |
19 | #include <string.h> | 19 | #include <string.h> |
20 | |||
20 | #include <openssl/opensslconf.h> | 21 | #include <openssl/opensslconf.h> |
21 | 22 | ||
22 | #if !defined(OPENSSL_NO_CHACHA) && !defined(OPENSSL_NO_POLY1305) | 23 | #if !defined(OPENSSL_NO_CHACHA) && !defined(OPENSSL_NO_POLY1305) |
23 | 24 | ||
25 | #include <openssl/err.h> | ||
26 | #include <openssl/evp.h> | ||
24 | #include <openssl/chacha.h> | 27 | #include <openssl/chacha.h> |
25 | #include <openssl/poly1305.h> | 28 | #include <openssl/poly1305.h> |
26 | #include <openssl/evp.h> | 29 | |
27 | #include <openssl/err.h> | ||
28 | #include "evp_locl.h" | 30 | #include "evp_locl.h" |
29 | 31 | ||
30 | #define POLY1305_TAG_LEN 16 | 32 | #define POLY1305_TAG_LEN 16 |
diff --git a/src/lib/libcrypto/evp/e_des.c b/src/lib/libcrypto/evp/e_des.c index 45a6e84cb5..1f0de7cbfd 100644 --- a/src/lib/libcrypto/evp/e_des.c +++ b/src/lib/libcrypto/evp/e_des.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: e_des.c,v 1.9 2014/06/12 15:49:29 deraadt Exp $ */ | 1 | /* $OpenBSD: e_des.c,v 1.10 2014/07/10 22:45:57 jsing 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 | * |
@@ -57,6 +57,9 @@ | |||
57 | */ | 57 | */ |
58 | 58 | ||
59 | #include <stdio.h> | 59 | #include <stdio.h> |
60 | |||
61 | #include <openssl/opensslconf.h> | ||
62 | |||
60 | #include "cryptlib.h" | 63 | #include "cryptlib.h" |
61 | #ifndef OPENSSL_NO_DES | 64 | #ifndef OPENSSL_NO_DES |
62 | #include <openssl/evp.h> | 65 | #include <openssl/evp.h> |
diff --git a/src/lib/libcrypto/evp/e_des3.c b/src/lib/libcrypto/evp/e_des3.c index 41fa09a2d9..f4264d8ca4 100644 --- a/src/lib/libcrypto/evp/e_des3.c +++ b/src/lib/libcrypto/evp/e_des3.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: e_des3.c,v 1.14 2014/07/10 13:58:22 jsing Exp $ */ | 1 | /* $OpenBSD: e_des3.c,v 1.15 2014/07/10 22:45:57 jsing 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 | * |
@@ -59,6 +59,8 @@ | |||
59 | #include <stdio.h> | 59 | #include <stdio.h> |
60 | #include <string.h> | 60 | #include <string.h> |
61 | 61 | ||
62 | #include <openssl/opensslconf.h> | ||
63 | |||
62 | #include "cryptlib.h" | 64 | #include "cryptlib.h" |
63 | #ifndef OPENSSL_NO_DES | 65 | #ifndef OPENSSL_NO_DES |
64 | #include <openssl/evp.h> | 66 | #include <openssl/evp.h> |
diff --git a/src/lib/libcrypto/evp/e_idea.c b/src/lib/libcrypto/evp/e_idea.c index 8f4e06161b..7dd385e04e 100644 --- a/src/lib/libcrypto/evp/e_idea.c +++ b/src/lib/libcrypto/evp/e_idea.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: e_idea.c,v 1.7 2014/06/12 15:49:29 deraadt Exp $ */ | 1 | /* $OpenBSD: e_idea.c,v 1.8 2014/07/10 22:45:57 jsing 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 | * |
@@ -57,6 +57,9 @@ | |||
57 | */ | 57 | */ |
58 | 58 | ||
59 | #include <stdio.h> | 59 | #include <stdio.h> |
60 | |||
61 | #include <openssl/opensslconf.h> | ||
62 | |||
60 | #include "cryptlib.h" | 63 | #include "cryptlib.h" |
61 | 64 | ||
62 | #ifndef OPENSSL_NO_IDEA | 65 | #ifndef OPENSSL_NO_IDEA |
diff --git a/src/lib/libcrypto/evp/e_old.c b/src/lib/libcrypto/evp/e_old.c index bfd45d2c88..235ebe242b 100644 --- a/src/lib/libcrypto/evp/e_old.c +++ b/src/lib/libcrypto/evp/e_old.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: e_old.c,v 1.6 2014/06/12 15:49:29 deraadt Exp $ */ | 1 | /* $OpenBSD: e_old.c,v 1.7 2014/07/10 22:45:57 jsing Exp $ */ |
2 | /* Written by Richard Levitte (richard@levitte.org) for the OpenSSL | 2 | /* Written by Richard Levitte (richard@levitte.org) for the OpenSSL |
3 | * project 2004. | 3 | * project 2004. |
4 | */ | 4 | */ |
@@ -56,6 +56,8 @@ | |||
56 | * | 56 | * |
57 | */ | 57 | */ |
58 | 58 | ||
59 | #include <openssl/opensslconf.h> | ||
60 | |||
59 | #ifndef OPENSSL_NO_DEPRECATED | 61 | #ifndef OPENSSL_NO_DEPRECATED |
60 | 62 | ||
61 | #include <openssl/evp.h> | 63 | #include <openssl/evp.h> |
diff --git a/src/lib/libcrypto/evp/e_rc2.c b/src/lib/libcrypto/evp/e_rc2.c index ad8e2f6c63..c164ab10f7 100644 --- a/src/lib/libcrypto/evp/e_rc2.c +++ b/src/lib/libcrypto/evp/e_rc2.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: e_rc2.c,v 1.8 2014/06/12 15:49:29 deraadt Exp $ */ | 1 | /* $OpenBSD: e_rc2.c,v 1.9 2014/07/10 22:45:57 jsing 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 | * |
@@ -57,6 +57,9 @@ | |||
57 | */ | 57 | */ |
58 | 58 | ||
59 | #include <stdio.h> | 59 | #include <stdio.h> |
60 | |||
61 | #include <openssl/opensslconf.h> | ||
62 | |||
60 | #include "cryptlib.h" | 63 | #include "cryptlib.h" |
61 | 64 | ||
62 | #ifndef OPENSSL_NO_RC2 | 65 | #ifndef OPENSSL_NO_RC2 |
diff --git a/src/lib/libcrypto/evp/e_rc4.c b/src/lib/libcrypto/evp/e_rc4.c index d272c03ee1..f8e4149a62 100644 --- a/src/lib/libcrypto/evp/e_rc4.c +++ b/src/lib/libcrypto/evp/e_rc4.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: e_rc4.c,v 1.12 2014/06/12 15:49:29 deraadt Exp $ */ | 1 | /* $OpenBSD: e_rc4.c,v 1.13 2014/07/10 22:45:57 jsing 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 | * |
@@ -57,6 +57,9 @@ | |||
57 | */ | 57 | */ |
58 | 58 | ||
59 | #include <stdio.h> | 59 | #include <stdio.h> |
60 | |||
61 | #include <openssl/opensslconf.h> | ||
62 | |||
60 | #include "cryptlib.h" | 63 | #include "cryptlib.h" |
61 | 64 | ||
62 | #ifndef OPENSSL_NO_RC4 | 65 | #ifndef OPENSSL_NO_RC4 |
diff --git a/src/lib/libcrypto/evp/e_rc4_hmac_md5.c b/src/lib/libcrypto/evp/e_rc4_hmac_md5.c index edbc4de539..05c79ff09d 100644 --- a/src/lib/libcrypto/evp/e_rc4_hmac_md5.c +++ b/src/lib/libcrypto/evp/e_rc4_hmac_md5.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: e_rc4_hmac_md5.c,v 1.3 2014/06/12 15:49:29 deraadt Exp $ */ | 1 | /* $OpenBSD: e_rc4_hmac_md5.c,v 1.4 2014/07/10 22:45:57 jsing Exp $ */ |
2 | /* ==================================================================== | 2 | /* ==================================================================== |
3 | * Copyright (c) 2011 The OpenSSL Project. All rights reserved. | 3 | * Copyright (c) 2011 The OpenSSL Project. All rights reserved. |
4 | * | 4 | * |
@@ -48,11 +48,11 @@ | |||
48 | * ==================================================================== | 48 | * ==================================================================== |
49 | */ | 49 | */ |
50 | 50 | ||
51 | #include <openssl/opensslconf.h> | ||
52 | |||
53 | #include <stdio.h> | 51 | #include <stdio.h> |
54 | #include <string.h> | 52 | #include <string.h> |
55 | 53 | ||
54 | #include <openssl/opensslconf.h> | ||
55 | |||
56 | #if !defined(OPENSSL_NO_RC4) && !defined(OPENSSL_NO_MD5) | 56 | #if !defined(OPENSSL_NO_RC4) && !defined(OPENSSL_NO_MD5) |
57 | 57 | ||
58 | #include <openssl/evp.h> | 58 | #include <openssl/evp.h> |
diff --git a/src/lib/libcrypto/evp/e_rc5.c b/src/lib/libcrypto/evp/e_rc5.c index f2c976319b..00e1251818 100644 --- a/src/lib/libcrypto/evp/e_rc5.c +++ b/src/lib/libcrypto/evp/e_rc5.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: e_rc5.c,v 1.5 2014/06/12 15:49:29 deraadt Exp $ */ | 1 | /* $OpenBSD: e_rc5.c,v 1.6 2014/07/10 22:45:57 jsing 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 | * |
@@ -57,6 +57,9 @@ | |||
57 | */ | 57 | */ |
58 | 58 | ||
59 | #include <stdio.h> | 59 | #include <stdio.h> |
60 | |||
61 | #include <openssl/opensslconf.h> | ||
62 | |||
60 | #include "cryptlib.h" | 63 | #include "cryptlib.h" |
61 | 64 | ||
62 | #ifndef OPENSSL_NO_RC5 | 65 | #ifndef OPENSSL_NO_RC5 |
diff --git a/src/lib/libcrypto/evp/e_xcbc_d.c b/src/lib/libcrypto/evp/e_xcbc_d.c index 401fb2b766..496850b315 100644 --- a/src/lib/libcrypto/evp/e_xcbc_d.c +++ b/src/lib/libcrypto/evp/e_xcbc_d.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: e_xcbc_d.c,v 1.10 2014/07/10 13:58:22 jsing Exp $ */ | 1 | /* $OpenBSD: e_xcbc_d.c,v 1.11 2014/07/10 22:45:57 jsing 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 | * |
@@ -59,6 +59,8 @@ | |||
59 | #include <stdio.h> | 59 | #include <stdio.h> |
60 | #include <string.h> | 60 | #include <string.h> |
61 | 61 | ||
62 | #include <openssl/opensslconf.h> | ||
63 | |||
62 | #include "cryptlib.h" | 64 | #include "cryptlib.h" |
63 | 65 | ||
64 | #ifndef OPENSSL_NO_DES | 66 | #ifndef OPENSSL_NO_DES |
diff --git a/src/lib/libcrypto/evp/evp_enc.c b/src/lib/libcrypto/evp/evp_enc.c index 36e39a4668..798ac442f9 100644 --- a/src/lib/libcrypto/evp/evp_enc.c +++ b/src/lib/libcrypto/evp/evp_enc.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: evp_enc.c,v 1.22 2014/07/10 13:58:22 jsing Exp $ */ | 1 | /* $OpenBSD: evp_enc.c,v 1.23 2014/07/10 22:45:57 jsing 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 | * |
@@ -59,6 +59,8 @@ | |||
59 | #include <stdio.h> | 59 | #include <stdio.h> |
60 | #include <string.h> | 60 | #include <string.h> |
61 | 61 | ||
62 | #include <openssl/opensslconf.h> | ||
63 | |||
62 | #include "cryptlib.h" | 64 | #include "cryptlib.h" |
63 | #include <openssl/evp.h> | 65 | #include <openssl/evp.h> |
64 | #include <openssl/err.h> | 66 | #include <openssl/err.h> |
diff --git a/src/lib/libcrypto/evp/evp_err.c b/src/lib/libcrypto/evp/evp_err.c index 6391a81422..2eddd79a3f 100644 --- a/src/lib/libcrypto/evp/evp_err.c +++ b/src/lib/libcrypto/evp/evp_err.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: evp_err.c,v 1.19 2014/06/12 15:49:29 deraadt Exp $ */ | 1 | /* $OpenBSD: evp_err.c,v 1.20 2014/07/10 22:45:57 jsing Exp $ */ |
2 | /* ==================================================================== | 2 | /* ==================================================================== |
3 | * Copyright (c) 1999-2011 The OpenSSL Project. All rights reserved. | 3 | * Copyright (c) 1999-2011 The OpenSSL Project. All rights reserved. |
4 | * | 4 | * |
@@ -59,6 +59,9 @@ | |||
59 | */ | 59 | */ |
60 | 60 | ||
61 | #include <stdio.h> | 61 | #include <stdio.h> |
62 | |||
63 | #include <openssl/opensslconf.h> | ||
64 | |||
62 | #include <openssl/err.h> | 65 | #include <openssl/err.h> |
63 | #include <openssl/evp.h> | 66 | #include <openssl/evp.h> |
64 | 67 | ||
diff --git a/src/lib/libcrypto/evp/evp_pbe.c b/src/lib/libcrypto/evp/evp_pbe.c index e53a681d5f..63e71c0bc9 100644 --- a/src/lib/libcrypto/evp/evp_pbe.c +++ b/src/lib/libcrypto/evp/evp_pbe.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: evp_pbe.c,v 1.18 2014/07/10 13:58:22 jsing Exp $ */ | 1 | /* $OpenBSD: evp_pbe.c,v 1.19 2014/07/10 22:45:57 jsing Exp $ */ |
2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
3 | * project 1999. | 3 | * project 1999. |
4 | */ | 4 | */ |
@@ -59,6 +59,8 @@ | |||
59 | #include <stdio.h> | 59 | #include <stdio.h> |
60 | #include <string.h> | 60 | #include <string.h> |
61 | 61 | ||
62 | #include <openssl/opensslconf.h> | ||
63 | |||
62 | #include "cryptlib.h" | 64 | #include "cryptlib.h" |
63 | #include <openssl/evp.h> | 65 | #include <openssl/evp.h> |
64 | #include <openssl/pkcs12.h> | 66 | #include <openssl/pkcs12.h> |
diff --git a/src/lib/libcrypto/evp/m_dss.c b/src/lib/libcrypto/evp/m_dss.c index d49946d803..81e3dd1511 100644 --- a/src/lib/libcrypto/evp/m_dss.c +++ b/src/lib/libcrypto/evp/m_dss.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: m_dss.c,v 1.14 2014/06/12 15:49:29 deraadt Exp $ */ | 1 | /* $OpenBSD: m_dss.c,v 1.15 2014/07/10 22:45:57 jsing 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 | * |
@@ -57,6 +57,9 @@ | |||
57 | */ | 57 | */ |
58 | 58 | ||
59 | #include <stdio.h> | 59 | #include <stdio.h> |
60 | |||
61 | #include <openssl/opensslconf.h> | ||
62 | |||
60 | #include "cryptlib.h" | 63 | #include "cryptlib.h" |
61 | #include <openssl/evp.h> | 64 | #include <openssl/evp.h> |
62 | #include <openssl/objects.h> | 65 | #include <openssl/objects.h> |
diff --git a/src/lib/libcrypto/evp/m_dss1.c b/src/lib/libcrypto/evp/m_dss1.c index e7261aeb66..efa91230dc 100644 --- a/src/lib/libcrypto/evp/m_dss1.c +++ b/src/lib/libcrypto/evp/m_dss1.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: m_dss1.c,v 1.14 2014/06/12 15:49:29 deraadt Exp $ */ | 1 | /* $OpenBSD: m_dss1.c,v 1.15 2014/07/10 22:45:57 jsing 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 | * |
@@ -57,6 +57,9 @@ | |||
57 | */ | 57 | */ |
58 | 58 | ||
59 | #include <stdio.h> | 59 | #include <stdio.h> |
60 | |||
61 | #include <openssl/opensslconf.h> | ||
62 | |||
60 | #include "cryptlib.h" | 63 | #include "cryptlib.h" |
61 | 64 | ||
62 | #ifndef OPENSSL_NO_SHA | 65 | #ifndef OPENSSL_NO_SHA |
diff --git a/src/lib/libcrypto/evp/m_ecdsa.c b/src/lib/libcrypto/evp/m_ecdsa.c index 20a605292d..d4872dcf29 100644 --- a/src/lib/libcrypto/evp/m_ecdsa.c +++ b/src/lib/libcrypto/evp/m_ecdsa.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: m_ecdsa.c,v 1.6 2014/06/12 15:49:29 deraadt Exp $ */ | 1 | /* $OpenBSD: m_ecdsa.c,v 1.7 2014/07/10 22:45:57 jsing Exp $ */ |
2 | /* ==================================================================== | 2 | /* ==================================================================== |
3 | * Copyright (c) 1998-2002 The OpenSSL Project. All rights reserved. | 3 | * Copyright (c) 1998-2002 The OpenSSL Project. All rights reserved. |
4 | * | 4 | * |
@@ -110,6 +110,9 @@ | |||
110 | */ | 110 | */ |
111 | 111 | ||
112 | #include <stdio.h> | 112 | #include <stdio.h> |
113 | |||
114 | #include <openssl/opensslconf.h> | ||
115 | |||
113 | #include "cryptlib.h" | 116 | #include "cryptlib.h" |
114 | #include <openssl/evp.h> | 117 | #include <openssl/evp.h> |
115 | #include <openssl/objects.h> | 118 | #include <openssl/objects.h> |
diff --git a/src/lib/libcrypto/evp/m_md4.c b/src/lib/libcrypto/evp/m_md4.c index 8535db9418..e24d0ad66f 100644 --- a/src/lib/libcrypto/evp/m_md4.c +++ b/src/lib/libcrypto/evp/m_md4.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: m_md4.c,v 1.11 2014/06/12 15:49:29 deraadt Exp $ */ | 1 | /* $OpenBSD: m_md4.c,v 1.12 2014/07/10 22:45:57 jsing 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 | * |
@@ -57,6 +57,9 @@ | |||
57 | */ | 57 | */ |
58 | 58 | ||
59 | #include <stdio.h> | 59 | #include <stdio.h> |
60 | |||
61 | #include <openssl/opensslconf.h> | ||
62 | |||
60 | #include "cryptlib.h" | 63 | #include "cryptlib.h" |
61 | 64 | ||
62 | #ifndef OPENSSL_NO_MD4 | 65 | #ifndef OPENSSL_NO_MD4 |
diff --git a/src/lib/libcrypto/evp/m_md5.c b/src/lib/libcrypto/evp/m_md5.c index 93b8672e5a..445b2b4381 100644 --- a/src/lib/libcrypto/evp/m_md5.c +++ b/src/lib/libcrypto/evp/m_md5.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: m_md5.c,v 1.12 2014/06/12 15:49:29 deraadt Exp $ */ | 1 | /* $OpenBSD: m_md5.c,v 1.13 2014/07/10 22:45:57 jsing 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 | * |
@@ -57,6 +57,9 @@ | |||
57 | */ | 57 | */ |
58 | 58 | ||
59 | #include <stdio.h> | 59 | #include <stdio.h> |
60 | |||
61 | #include <openssl/opensslconf.h> | ||
62 | |||
60 | #include "cryptlib.h" | 63 | #include "cryptlib.h" |
61 | 64 | ||
62 | #ifndef OPENSSL_NO_MD5 | 65 | #ifndef OPENSSL_NO_MD5 |
diff --git a/src/lib/libcrypto/evp/m_mdc2.c b/src/lib/libcrypto/evp/m_mdc2.c index a59cc5da66..c360c986d5 100644 --- a/src/lib/libcrypto/evp/m_mdc2.c +++ b/src/lib/libcrypto/evp/m_mdc2.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: m_mdc2.c,v 1.12 2014/06/12 15:49:29 deraadt Exp $ */ | 1 | /* $OpenBSD: m_mdc2.c,v 1.13 2014/07/10 22:45:57 jsing 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 | * |
@@ -57,6 +57,9 @@ | |||
57 | */ | 57 | */ |
58 | 58 | ||
59 | #include <stdio.h> | 59 | #include <stdio.h> |
60 | |||
61 | #include <openssl/opensslconf.h> | ||
62 | |||
60 | #include "cryptlib.h" | 63 | #include "cryptlib.h" |
61 | 64 | ||
62 | #ifndef OPENSSL_NO_MDC2 | 65 | #ifndef OPENSSL_NO_MDC2 |
diff --git a/src/lib/libcrypto/evp/m_ripemd.c b/src/lib/libcrypto/evp/m_ripemd.c index 60498bfe8a..c496a205d6 100644 --- a/src/lib/libcrypto/evp/m_ripemd.c +++ b/src/lib/libcrypto/evp/m_ripemd.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: m_ripemd.c,v 1.9 2014/06/12 15:49:29 deraadt Exp $ */ | 1 | /* $OpenBSD: m_ripemd.c,v 1.10 2014/07/10 22:45:57 jsing 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 | * |
@@ -57,6 +57,9 @@ | |||
57 | */ | 57 | */ |
58 | 58 | ||
59 | #include <stdio.h> | 59 | #include <stdio.h> |
60 | |||
61 | #include <openssl/opensslconf.h> | ||
62 | |||
60 | #include "cryptlib.h" | 63 | #include "cryptlib.h" |
61 | 64 | ||
62 | #ifndef OPENSSL_NO_RIPEMD | 65 | #ifndef OPENSSL_NO_RIPEMD |
diff --git a/src/lib/libcrypto/evp/m_sha.c b/src/lib/libcrypto/evp/m_sha.c index 3865e8441f..ed22c1aec5 100644 --- a/src/lib/libcrypto/evp/m_sha.c +++ b/src/lib/libcrypto/evp/m_sha.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: m_sha.c,v 1.13 2014/06/12 15:49:29 deraadt Exp $ */ | 1 | /* $OpenBSD: m_sha.c,v 1.14 2014/07/10 22:45:57 jsing 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 | * |
@@ -57,6 +57,9 @@ | |||
57 | */ | 57 | */ |
58 | 58 | ||
59 | #include <stdio.h> | 59 | #include <stdio.h> |
60 | |||
61 | #include <openssl/opensslconf.h> | ||
62 | |||
60 | #include "cryptlib.h" | 63 | #include "cryptlib.h" |
61 | 64 | ||
62 | #if !defined(OPENSSL_NO_SHA) && !defined(OPENSSL_NO_SHA0) | 65 | #if !defined(OPENSSL_NO_SHA) && !defined(OPENSSL_NO_SHA0) |
diff --git a/src/lib/libcrypto/evp/m_sha1.c b/src/lib/libcrypto/evp/m_sha1.c index 9c0a81b4ed..0441f632d3 100644 --- a/src/lib/libcrypto/evp/m_sha1.c +++ b/src/lib/libcrypto/evp/m_sha1.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: m_sha1.c,v 1.15 2014/06/12 15:49:29 deraadt Exp $ */ | 1 | /* $OpenBSD: m_sha1.c,v 1.16 2014/07/10 22:45:57 jsing 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 | * |
@@ -57,6 +57,9 @@ | |||
57 | */ | 57 | */ |
58 | 58 | ||
59 | #include <stdio.h> | 59 | #include <stdio.h> |
60 | |||
61 | #include <openssl/opensslconf.h> | ||
62 | |||
60 | #include "cryptlib.h" | 63 | #include "cryptlib.h" |
61 | 64 | ||
62 | #ifndef OPENSSL_NO_SHA | 65 | #ifndef OPENSSL_NO_SHA |
diff --git a/src/lib/libcrypto/evp/m_wp.c b/src/lib/libcrypto/evp/m_wp.c index 0ddb7b9f95..c6b246a3c5 100644 --- a/src/lib/libcrypto/evp/m_wp.c +++ b/src/lib/libcrypto/evp/m_wp.c | |||
@@ -1,6 +1,9 @@ | |||
1 | /* $OpenBSD: m_wp.c,v 1.5 2014/06/12 15:49:29 deraadt Exp $ */ | 1 | /* $OpenBSD: m_wp.c,v 1.6 2014/07/10 22:45:57 jsing Exp $ */ |
2 | 2 | ||
3 | #include <stdio.h> | 3 | #include <stdio.h> |
4 | |||
5 | #include <openssl/opensslconf.h> | ||
6 | |||
4 | #include "cryptlib.h" | 7 | #include "cryptlib.h" |
5 | 8 | ||
6 | #ifndef OPENSSL_NO_WHIRLPOOL | 9 | #ifndef OPENSSL_NO_WHIRLPOOL |
diff --git a/src/lib/libcrypto/evp/p5_crpt2.c b/src/lib/libcrypto/evp/p5_crpt2.c index 3a182aabfd..c072376912 100644 --- a/src/lib/libcrypto/evp/p5_crpt2.c +++ b/src/lib/libcrypto/evp/p5_crpt2.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: p5_crpt2.c,v 1.15 2014/07/10 13:58:22 jsing Exp $ */ | 1 | /* $OpenBSD: p5_crpt2.c,v 1.16 2014/07/10 22:45:57 jsing Exp $ */ |
2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
3 | * project 1999. | 3 | * project 1999. |
4 | */ | 4 | */ |
@@ -60,6 +60,8 @@ | |||
60 | #include <stdlib.h> | 60 | #include <stdlib.h> |
61 | #include <string.h> | 61 | #include <string.h> |
62 | 62 | ||
63 | #include <openssl/opensslconf.h> | ||
64 | |||
63 | #include "cryptlib.h" | 65 | #include "cryptlib.h" |
64 | #if !defined(OPENSSL_NO_HMAC) && !defined(OPENSSL_NO_SHA) | 66 | #if !defined(OPENSSL_NO_HMAC) && !defined(OPENSSL_NO_SHA) |
65 | #include <openssl/x509.h> | 67 | #include <openssl/x509.h> |
diff --git a/src/lib/libcrypto/evp/p_dec.c b/src/lib/libcrypto/evp/p_dec.c index 5ed2392270..c47408dff0 100644 --- a/src/lib/libcrypto/evp/p_dec.c +++ b/src/lib/libcrypto/evp/p_dec.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: p_dec.c,v 1.7 2014/06/12 15:49:29 deraadt Exp $ */ | 1 | /* $OpenBSD: p_dec.c,v 1.8 2014/07/10 22:45:57 jsing 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 | * |
@@ -57,6 +57,9 @@ | |||
57 | */ | 57 | */ |
58 | 58 | ||
59 | #include <stdio.h> | 59 | #include <stdio.h> |
60 | |||
61 | #include <openssl/opensslconf.h> | ||
62 | |||
60 | #include "cryptlib.h" | 63 | #include "cryptlib.h" |
61 | #include <openssl/rand.h> | 64 | #include <openssl/rand.h> |
62 | #ifndef OPENSSL_NO_RSA | 65 | #ifndef OPENSSL_NO_RSA |
diff --git a/src/lib/libcrypto/evp/p_enc.c b/src/lib/libcrypto/evp/p_enc.c index f6b2e52521..a1fb9d1d2c 100644 --- a/src/lib/libcrypto/evp/p_enc.c +++ b/src/lib/libcrypto/evp/p_enc.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: p_enc.c,v 1.7 2014/06/12 15:49:29 deraadt Exp $ */ | 1 | /* $OpenBSD: p_enc.c,v 1.8 2014/07/10 22:45:57 jsing 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 | * |
@@ -57,6 +57,9 @@ | |||
57 | */ | 57 | */ |
58 | 58 | ||
59 | #include <stdio.h> | 59 | #include <stdio.h> |
60 | |||
61 | #include <openssl/opensslconf.h> | ||
62 | |||
60 | #include "cryptlib.h" | 63 | #include "cryptlib.h" |
61 | #include <openssl/rand.h> | 64 | #include <openssl/rand.h> |
62 | #ifndef OPENSSL_NO_RSA | 65 | #ifndef OPENSSL_NO_RSA |
diff --git a/src/lib/libcrypto/evp/p_lib.c b/src/lib/libcrypto/evp/p_lib.c index 8abaae3bcd..6db5e95cd0 100644 --- a/src/lib/libcrypto/evp/p_lib.c +++ b/src/lib/libcrypto/evp/p_lib.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: p_lib.c,v 1.13 2014/06/12 15:49:29 deraadt Exp $ */ | 1 | /* $OpenBSD: p_lib.c,v 1.14 2014/07/10 22:45:57 jsing 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 | * |
@@ -57,6 +57,9 @@ | |||
57 | */ | 57 | */ |
58 | 58 | ||
59 | #include <stdio.h> | 59 | #include <stdio.h> |
60 | |||
61 | #include <openssl/opensslconf.h> | ||
62 | |||
60 | #include "cryptlib.h" | 63 | #include "cryptlib.h" |
61 | #include <openssl/bn.h> | 64 | #include <openssl/bn.h> |
62 | #include <openssl/err.h> | 65 | #include <openssl/err.h> |
diff --git a/src/lib/libcrypto/evp/p_open.c b/src/lib/libcrypto/evp/p_open.c index 2f8a3832f7..aec4d9f3d0 100644 --- a/src/lib/libcrypto/evp/p_open.c +++ b/src/lib/libcrypto/evp/p_open.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: p_open.c,v 1.14 2014/06/12 15:49:29 deraadt Exp $ */ | 1 | /* $OpenBSD: p_open.c,v 1.15 2014/07/10 22:45:57 jsing 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 | * |
@@ -57,6 +57,9 @@ | |||
57 | */ | 57 | */ |
58 | 58 | ||
59 | #include <stdio.h> | 59 | #include <stdio.h> |
60 | |||
61 | #include <openssl/opensslconf.h> | ||
62 | |||
60 | #include "cryptlib.h" | 63 | #include "cryptlib.h" |
61 | 64 | ||
62 | #ifndef OPENSSL_NO_RSA | 65 | #ifndef OPENSSL_NO_RSA |
diff --git a/src/lib/libcrypto/evp/p_seal.c b/src/lib/libcrypto/evp/p_seal.c index d590cd7e37..4acb9f8054 100644 --- a/src/lib/libcrypto/evp/p_seal.c +++ b/src/lib/libcrypto/evp/p_seal.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: p_seal.c,v 1.11 2014/06/12 15:49:29 deraadt Exp $ */ | 1 | /* $OpenBSD: p_seal.c,v 1.12 2014/07/10 22:45:57 jsing 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 | * |
@@ -57,6 +57,9 @@ | |||
57 | */ | 57 | */ |
58 | 58 | ||
59 | #include <stdio.h> | 59 | #include <stdio.h> |
60 | |||
61 | #include <openssl/opensslconf.h> | ||
62 | |||
60 | #include "cryptlib.h" | 63 | #include "cryptlib.h" |
61 | #include <openssl/rand.h> | 64 | #include <openssl/rand.h> |
62 | #ifndef OPENSSL_NO_RSA | 65 | #ifndef OPENSSL_NO_RSA |
diff --git a/src/lib/libcrypto/evp/pmeth_lib.c b/src/lib/libcrypto/evp/pmeth_lib.c index 6f8515c670..f23524b8a9 100644 --- a/src/lib/libcrypto/evp/pmeth_lib.c +++ b/src/lib/libcrypto/evp/pmeth_lib.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: pmeth_lib.c,v 1.6 2014/07/10 13:58:22 jsing Exp $ */ | 1 | /* $OpenBSD: pmeth_lib.c,v 1.7 2014/07/10 22:45:57 jsing Exp $ */ |
2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
3 | * project 2006. | 3 | * project 2006. |
4 | */ | 4 | */ |
@@ -60,6 +60,8 @@ | |||
60 | #include <stdlib.h> | 60 | #include <stdlib.h> |
61 | #include <string.h> | 61 | #include <string.h> |
62 | 62 | ||
63 | #include <openssl/opensslconf.h> | ||
64 | |||
63 | #include "cryptlib.h" | 65 | #include "cryptlib.h" |
64 | #include <openssl/objects.h> | 66 | #include <openssl/objects.h> |
65 | #include <openssl/evp.h> | 67 | #include <openssl/evp.h> |