summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/ts
diff options
context:
space:
mode:
authorjsing <>2014-07-10 13:58:23 +0000
committerjsing <>2014-07-10 13:58:23 +0000
commitf8e6fe02fc43958d79cf9326eebabf8ef8d3ae34 (patch)
tree520bd0eaa8855b175013ab92f4175f47f1099115 /src/lib/libcrypto/ts
parenta2a7393cf3489febec569cfa8aab8735e4f58339 (diff)
downloadopenbsd-f8e6fe02fc43958d79cf9326eebabf8ef8d3ae34.tar.gz
openbsd-f8e6fe02fc43958d79cf9326eebabf8ef8d3ae34.tar.bz2
openbsd-f8e6fe02fc43958d79cf9326eebabf8ef8d3ae34.zip
Stop including standard headers via cryptlib.h - pull in the headers that
are needed in the source files that actually require them. ok beck@ miod@
Diffstat (limited to 'src/lib/libcrypto/ts')
-rw-r--r--src/lib/libcrypto/ts/ts_lib.c4
-rw-r--r--src/lib/libcrypto/ts/ts_rsp_sign.c8
-rw-r--r--src/lib/libcrypto/ts/ts_rsp_verify.c4
-rw-r--r--src/lib/libcrypto/ts/ts_verify_ctx.c4
4 files changed, 14 insertions, 6 deletions
diff --git a/src/lib/libcrypto/ts/ts_lib.c b/src/lib/libcrypto/ts/ts_lib.c
index 34ef9a476e..ad37037b7f 100644
--- a/src/lib/libcrypto/ts/ts_lib.c
+++ b/src/lib/libcrypto/ts/ts_lib.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: ts_lib.c,v 1.6 2014/06/12 15:49:31 deraadt Exp $ */ 1/* $OpenBSD: ts_lib.c,v 1.7 2014/07/10 13:58:23 jsing Exp $ */
2/* Written by Zoltan Glozik (zglozik@stones.com) for the OpenSSL 2/* Written by Zoltan Glozik (zglozik@stones.com) for the OpenSSL
3 * project 2002. 3 * project 2002.
4 */ 4 */
@@ -57,6 +57,8 @@
57 */ 57 */
58 58
59#include <stdio.h> 59#include <stdio.h>
60#include <string.h>
61
60#include "cryptlib.h" 62#include "cryptlib.h"
61#include <openssl/objects.h> 63#include <openssl/objects.h>
62#include <openssl/bn.h> 64#include <openssl/bn.h>
diff --git a/src/lib/libcrypto/ts/ts_rsp_sign.c b/src/lib/libcrypto/ts/ts_rsp_sign.c
index e56bfb06cb..5421085b5a 100644
--- a/src/lib/libcrypto/ts/ts_rsp_sign.c
+++ b/src/lib/libcrypto/ts/ts_rsp_sign.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: ts_rsp_sign.c,v 1.15 2014/06/12 15:49:31 deraadt Exp $ */ 1/* $OpenBSD: ts_rsp_sign.c,v 1.16 2014/07/10 13:58:23 jsing Exp $ */
2/* Written by Zoltan Glozik (zglozik@stones.com) for the OpenSSL 2/* Written by Zoltan Glozik (zglozik@stones.com) for the OpenSSL
3 * project 2002. 3 * project 2002.
4 */ 4 */
@@ -56,10 +56,12 @@
56 * 56 *
57 */ 57 */
58 58
59#include "cryptlib.h"
60
61#include <sys/time.h> 59#include <sys/time.h>
62 60
61#include <string.h>
62
63#include "cryptlib.h"
64
63#include <openssl/objects.h> 65#include <openssl/objects.h>
64#include <openssl/ts.h> 66#include <openssl/ts.h>
65#include <openssl/pkcs7.h> 67#include <openssl/pkcs7.h>
diff --git a/src/lib/libcrypto/ts/ts_rsp_verify.c b/src/lib/libcrypto/ts/ts_rsp_verify.c
index 2da5a07bce..8b3d5a86ac 100644
--- a/src/lib/libcrypto/ts/ts_rsp_verify.c
+++ b/src/lib/libcrypto/ts/ts_rsp_verify.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: ts_rsp_verify.c,v 1.10 2014/07/09 11:12:13 bcook Exp $ */ 1/* $OpenBSD: ts_rsp_verify.c,v 1.11 2014/07/10 13:58:23 jsing Exp $ */
2/* Written by Zoltan Glozik (zglozik@stones.com) for the OpenSSL 2/* Written by Zoltan Glozik (zglozik@stones.com) for the OpenSSL
3 * project 2002. 3 * project 2002.
4 */ 4 */
@@ -57,6 +57,8 @@
57 */ 57 */
58 58
59#include <stdio.h> 59#include <stdio.h>
60#include <string.h>
61
60#include "cryptlib.h" 62#include "cryptlib.h"
61#include <openssl/objects.h> 63#include <openssl/objects.h>
62#include <openssl/ts.h> 64#include <openssl/ts.h>
diff --git a/src/lib/libcrypto/ts/ts_verify_ctx.c b/src/lib/libcrypto/ts/ts_verify_ctx.c
index f8485fd5a3..3b500233db 100644
--- a/src/lib/libcrypto/ts/ts_verify_ctx.c
+++ b/src/lib/libcrypto/ts/ts_verify_ctx.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: ts_verify_ctx.c,v 1.5 2014/06/12 15:49:31 deraadt Exp $ */ 1/* $OpenBSD: ts_verify_ctx.c,v 1.6 2014/07/10 13:58:23 jsing Exp $ */
2/* Written by Zoltan Glozik (zglozik@stones.com) for the OpenSSL 2/* Written by Zoltan Glozik (zglozik@stones.com) for the OpenSSL
3 * project 2003. 3 * project 2003.
4 */ 4 */
@@ -56,6 +56,8 @@
56 * 56 *
57 */ 57 */
58 58
59#include <string.h>
60
59#include "cryptlib.h" 61#include "cryptlib.h"
60#include <openssl/objects.h> 62#include <openssl/objects.h>
61#include <openssl/ts.h> 63#include <openssl/ts.h>