diff options
Diffstat (limited to 'src/lib/libcrypto/bn')
-rw-r--r-- | src/lib/libcrypto/bn/bn_asm.c | 7 | ||||
-rw-r--r-- | src/lib/libcrypto/bn/bn_blind.c | 5 | ||||
-rw-r--r-- | src/lib/libcrypto/bn/bn_ctx.c | 4 | ||||
-rw-r--r-- | src/lib/libcrypto/bn/bn_depr.c | 5 | ||||
-rw-r--r-- | src/lib/libcrypto/bn/bn_div.c | 5 | ||||
-rw-r--r-- | src/lib/libcrypto/bn/bn_err.c | 5 | ||||
-rw-r--r-- | src/lib/libcrypto/bn/bn_gf2m.c | 5 | ||||
-rw-r--r-- | src/lib/libcrypto/bn/bn_lcl.h | 4 | ||||
-rw-r--r-- | src/lib/libcrypto/bn/bn_lib.c | 4 | ||||
-rw-r--r-- | src/lib/libcrypto/bn/bn_mul.c | 4 | ||||
-rw-r--r-- | src/lib/libcrypto/bn/bn_print.c | 10 |
11 files changed, 44 insertions, 14 deletions
diff --git a/src/lib/libcrypto/bn/bn_asm.c b/src/lib/libcrypto/bn/bn_asm.c index d33919f0aa..01e03cc81f 100644 --- a/src/lib/libcrypto/bn/bn_asm.c +++ b/src/lib/libcrypto/bn/bn_asm.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: bn_asm.c,v 1.11 2014/06/12 15:49:28 deraadt Exp $ */ | 1 | /* $OpenBSD: bn_asm.c,v 1.12 2014/07/10 22:45:56 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 | * |
@@ -61,8 +61,11 @@ | |||
61 | # define NDEBUG | 61 | # define NDEBUG |
62 | #endif | 62 | #endif |
63 | 63 | ||
64 | #include <stdio.h> | ||
65 | #include <assert.h> | 64 | #include <assert.h> |
65 | #include <stdio.h> | ||
66 | |||
67 | #include <openssl/opensslconf.h> | ||
68 | |||
66 | #include "cryptlib.h" | 69 | #include "cryptlib.h" |
67 | #include "bn_lcl.h" | 70 | #include "bn_lcl.h" |
68 | 71 | ||
diff --git a/src/lib/libcrypto/bn/bn_blind.c b/src/lib/libcrypto/bn/bn_blind.c index 6bcd8d0eca..2170181aae 100644 --- a/src/lib/libcrypto/bn/bn_blind.c +++ b/src/lib/libcrypto/bn/bn_blind.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: bn_blind.c,v 1.11 2014/06/12 15:49:28 deraadt Exp $ */ | 1 | /* $OpenBSD: bn_blind.c,v 1.12 2014/07/10 22:45:56 jsing Exp $ */ |
2 | /* ==================================================================== | 2 | /* ==================================================================== |
3 | * Copyright (c) 1998-2006 The OpenSSL Project. All rights reserved. | 3 | * Copyright (c) 1998-2006 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 "bn_lcl.h" | 117 | #include "bn_lcl.h" |
115 | 118 | ||
diff --git a/src/lib/libcrypto/bn/bn_ctx.c b/src/lib/libcrypto/bn/bn_ctx.c index 95871258d9..d3384a0385 100644 --- a/src/lib/libcrypto/bn/bn_ctx.c +++ b/src/lib/libcrypto/bn/bn_ctx.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: bn_ctx.c,v 1.11 2014/07/10 13:58:22 jsing Exp $ */ | 1 | /* $OpenBSD: bn_ctx.c,v 1.12 2014/07/10 22:45:56 jsing Exp $ */ |
2 | /* Written by Ulf Moeller for the OpenSSL project. */ | 2 | /* Written by Ulf Moeller for the OpenSSL project. */ |
3 | /* ==================================================================== | 3 | /* ==================================================================== |
4 | * Copyright (c) 1998-2004 The OpenSSL Project. All rights reserved. | 4 | * Copyright (c) 1998-2004 The OpenSSL Project. All rights reserved. |
@@ -64,6 +64,8 @@ | |||
64 | #include <stdio.h> | 64 | #include <stdio.h> |
65 | #include <string.h> | 65 | #include <string.h> |
66 | 66 | ||
67 | #include <openssl/opensslconf.h> | ||
68 | |||
67 | #include "cryptlib.h" | 69 | #include "cryptlib.h" |
68 | #include "bn_lcl.h" | 70 | #include "bn_lcl.h" |
69 | 71 | ||
diff --git a/src/lib/libcrypto/bn/bn_depr.c b/src/lib/libcrypto/bn/bn_depr.c index 83297f4a49..93af852aa5 100644 --- a/src/lib/libcrypto/bn/bn_depr.c +++ b/src/lib/libcrypto/bn/bn_depr.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: bn_depr.c,v 1.4 2014/06/12 15:49:28 deraadt Exp $ */ | 1 | /* $OpenBSD: bn_depr.c,v 1.5 2014/07/10 22:45:56 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 | * |
@@ -58,6 +58,9 @@ | |||
58 | 58 | ||
59 | #include <stdio.h> | 59 | #include <stdio.h> |
60 | #include <time.h> | 60 | #include <time.h> |
61 | |||
62 | #include <openssl/opensslconf.h> | ||
63 | |||
61 | #include "cryptlib.h" | 64 | #include "cryptlib.h" |
62 | #include "bn_lcl.h" | 65 | #include "bn_lcl.h" |
63 | #include <openssl/rand.h> | 66 | #include <openssl/rand.h> |
diff --git a/src/lib/libcrypto/bn/bn_div.c b/src/lib/libcrypto/bn/bn_div.c index 2f45a412b4..40a3c1551d 100644 --- a/src/lib/libcrypto/bn/bn_div.c +++ b/src/lib/libcrypto/bn/bn_div.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: bn_div.c,v 1.20 2014/06/27 22:02:07 miod Exp $ */ | 1 | /* $OpenBSD: bn_div.c,v 1.21 2014/07/10 22:45:56 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,9 @@ | |||
58 | 58 | ||
59 | #include <stdio.h> | 59 | #include <stdio.h> |
60 | #include <openssl/bn.h> | 60 | #include <openssl/bn.h> |
61 | |||
62 | #include <openssl/opensslconf.h> | ||
63 | |||
61 | #include "cryptlib.h" | 64 | #include "cryptlib.h" |
62 | #include "bn_lcl.h" | 65 | #include "bn_lcl.h" |
63 | 66 | ||
diff --git a/src/lib/libcrypto/bn/bn_err.c b/src/lib/libcrypto/bn/bn_err.c index 032786b4e8..5a0f359d86 100644 --- a/src/lib/libcrypto/bn/bn_err.c +++ b/src/lib/libcrypto/bn/bn_err.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: bn_err.c,v 1.11 2014/06/12 15:49:28 deraadt Exp $ */ | 1 | /* $OpenBSD: bn_err.c,v 1.12 2014/07/10 22:45:56 jsing Exp $ */ |
2 | /* ==================================================================== | 2 | /* ==================================================================== |
3 | * Copyright (c) 1999-2007 The OpenSSL Project. All rights reserved. | 3 | * Copyright (c) 1999-2007 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/bn.h> | 66 | #include <openssl/bn.h> |
64 | 67 | ||
diff --git a/src/lib/libcrypto/bn/bn_gf2m.c b/src/lib/libcrypto/bn/bn_gf2m.c index 7aa306c345..09d4bcc544 100644 --- a/src/lib/libcrypto/bn/bn_gf2m.c +++ b/src/lib/libcrypto/bn/bn_gf2m.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: bn_gf2m.c,v 1.13 2014/06/12 15:49:28 deraadt Exp $ */ | 1 | /* $OpenBSD: bn_gf2m.c,v 1.14 2014/07/10 22:45:56 jsing Exp $ */ |
2 | /* ==================================================================== | 2 | /* ==================================================================== |
3 | * Copyright 2002 Sun Microsystems, Inc. ALL RIGHTS RESERVED. | 3 | * Copyright 2002 Sun Microsystems, Inc. ALL RIGHTS RESERVED. |
4 | * | 4 | * |
@@ -91,6 +91,9 @@ | |||
91 | #include <assert.h> | 91 | #include <assert.h> |
92 | #include <limits.h> | 92 | #include <limits.h> |
93 | #include <stdio.h> | 93 | #include <stdio.h> |
94 | |||
95 | #include <openssl/opensslconf.h> | ||
96 | |||
94 | #include "cryptlib.h" | 97 | #include "cryptlib.h" |
95 | #include "bn_lcl.h" | 98 | #include "bn_lcl.h" |
96 | 99 | ||
diff --git a/src/lib/libcrypto/bn/bn_lcl.h b/src/lib/libcrypto/bn/bn_lcl.h index f90402fb5b..2dab445a51 100644 --- a/src/lib/libcrypto/bn/bn_lcl.h +++ b/src/lib/libcrypto/bn/bn_lcl.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: bn_lcl.h,v 1.19 2014/06/12 15:49:28 deraadt Exp $ */ | 1 | /* $OpenBSD: bn_lcl.h,v 1.20 2014/07/10 22:45:56 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 | #ifndef HEADER_BN_LCL_H | 112 | #ifndef HEADER_BN_LCL_H |
113 | #define HEADER_BN_LCL_H | 113 | #define HEADER_BN_LCL_H |
114 | 114 | ||
115 | #include <openssl/opensslconf.h> | ||
116 | |||
115 | #include <openssl/bn.h> | 117 | #include <openssl/bn.h> |
116 | 118 | ||
117 | #ifdef __cplusplus | 119 | #ifdef __cplusplus |
diff --git a/src/lib/libcrypto/bn/bn_lib.c b/src/lib/libcrypto/bn/bn_lib.c index a33cf99ddb..747cbb68a5 100644 --- a/src/lib/libcrypto/bn/bn_lib.c +++ b/src/lib/libcrypto/bn/bn_lib.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: bn_lib.c,v 1.30 2014/07/10 13:58:22 jsing Exp $ */ | 1 | /* $OpenBSD: bn_lib.c,v 1.31 2014/07/10 22:45:56 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 | * |
@@ -66,6 +66,8 @@ | |||
66 | #include <stdio.h> | 66 | #include <stdio.h> |
67 | #include <string.h> | 67 | #include <string.h> |
68 | 68 | ||
69 | #include <openssl/opensslconf.h> | ||
70 | |||
69 | #include "cryptlib.h" | 71 | #include "cryptlib.h" |
70 | #include "bn_lcl.h" | 72 | #include "bn_lcl.h" |
71 | 73 | ||
diff --git a/src/lib/libcrypto/bn/bn_mul.c b/src/lib/libcrypto/bn/bn_mul.c index 721fac19b1..71bfe2d9ec 100644 --- a/src/lib/libcrypto/bn/bn_mul.c +++ b/src/lib/libcrypto/bn/bn_mul.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: bn_mul.c,v 1.17 2014/07/10 13:58:22 jsing Exp $ */ | 1 | /* $OpenBSD: bn_mul.c,v 1.18 2014/07/10 22:45:56 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 | * |
@@ -65,6 +65,8 @@ | |||
65 | #include <stdio.h> | 65 | #include <stdio.h> |
66 | #include <string.h> | 66 | #include <string.h> |
67 | 67 | ||
68 | #include <openssl/opensslconf.h> | ||
69 | |||
68 | #include "cryptlib.h" | 70 | #include "cryptlib.h" |
69 | #include "bn_lcl.h" | 71 | #include "bn_lcl.h" |
70 | 72 | ||
diff --git a/src/lib/libcrypto/bn/bn_print.c b/src/lib/libcrypto/bn/bn_print.c index 6893d9af8b..db51887fbe 100644 --- a/src/lib/libcrypto/bn/bn_print.c +++ b/src/lib/libcrypto/bn/bn_print.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: bn_print.c,v 1.20 2014/06/12 15:49:28 deraadt Exp $ */ | 1 | /* $OpenBSD: bn_print.c,v 1.21 2014/07/10 22:45:56 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 | * |
@@ -56,10 +56,14 @@ | |||
56 | * [including the GNU Public Licence.] | 56 | * [including the GNU Public Licence.] |
57 | */ | 57 | */ |
58 | 58 | ||
59 | #include <stdio.h> | ||
60 | #include <ctype.h> | 59 | #include <ctype.h> |
61 | #include "cryptlib.h" | 60 | #include <stdio.h> |
61 | |||
62 | #include <openssl/opensslconf.h> | ||
63 | |||
62 | #include <openssl/buffer.h> | 64 | #include <openssl/buffer.h> |
65 | |||
66 | #include "cryptlib.h" | ||
63 | #include "bn_lcl.h" | 67 | #include "bn_lcl.h" |
64 | 68 | ||
65 | static const char Hex[]="0123456789ABCDEF"; | 69 | static const char Hex[]="0123456789ABCDEF"; |