diff options
author | jsing <> | 2014-07-10 13:58:23 +0000 |
---|---|---|
committer | jsing <> | 2014-07-10 13:58:23 +0000 |
commit | f8e6fe02fc43958d79cf9326eebabf8ef8d3ae34 (patch) | |
tree | 520bd0eaa8855b175013ab92f4175f47f1099115 /src/lib/libcrypto/asn1/a_int.c | |
parent | a2a7393cf3489febec569cfa8aab8735e4f58339 (diff) | |
download | openbsd-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/asn1/a_int.c')
-rw-r--r-- | src/lib/libcrypto/asn1/a_int.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/lib/libcrypto/asn1/a_int.c b/src/lib/libcrypto/asn1/a_int.c index 015d02ccdb..1a84772231 100644 --- a/src/lib/libcrypto/asn1/a_int.c +++ b/src/lib/libcrypto/asn1/a_int.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: a_int.c,v 1.22 2014/07/10 11:25:13 tedu Exp $ */ | 1 | /* $OpenBSD: a_int.c,v 1.23 2014/07/10 13:58:22 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,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/asn1.h> | 63 | #include <openssl/asn1.h> |
62 | #include <openssl/bn.h> | 64 | #include <openssl/bn.h> |
@@ -200,7 +202,7 @@ c2i_ASN1_INTEGER(ASN1_INTEGER **a, const unsigned char **pp, long len) | |||
200 | } else | 202 | } else |
201 | ret = (*a); | 203 | ret = (*a); |
202 | 204 | ||
203 | p= *pp; | 205 | p = *pp; |
204 | pend = p + len; | 206 | pend = p + len; |
205 | 207 | ||
206 | /* We must malloc stuff, even for 0 bytes otherwise it | 208 | /* We must malloc stuff, even for 0 bytes otherwise it |