diff options
author | deraadt <> | 2014-04-18 15:53:24 +0000 |
---|---|---|
committer | deraadt <> | 2014-04-18 15:53:24 +0000 |
commit | 0a9df0626e8549fea0f220bde75cc05225c964be (patch) | |
tree | ad09203797d2b6f05c8c707dfe39edcc907334d2 /src | |
parent | 8afb5cec282389614d971def0e86a909cff42b4a (diff) | |
download | openbsd-0a9df0626e8549fea0f220bde75cc05225c964be.tar.gz openbsd-0a9df0626e8549fea0f220bde75cc05225c964be.tar.bz2 openbsd-0a9df0626e8549fea0f220bde75cc05225c964be.zip |
remove include files not needed
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/libcrypto/o_str.c | 1 | ||||
-rw-r--r-- | src/lib/libcrypto/uid.c | 18 | ||||
-rw-r--r-- | src/lib/libssl/src/crypto/o_str.c | 1 | ||||
-rw-r--r-- | src/lib/libssl/src/crypto/uid.c | 18 |
4 files changed, 4 insertions, 34 deletions
diff --git a/src/lib/libcrypto/o_str.c b/src/lib/libcrypto/o_str.c index 6d56673b44..f7be15bd5a 100644 --- a/src/lib/libcrypto/o_str.c +++ b/src/lib/libcrypto/o_str.c | |||
@@ -2,7 +2,6 @@ | |||
2 | * Written by Theo de Raadt. Public domain. | 2 | * Written by Theo de Raadt. Public domain. |
3 | */ | 3 | */ |
4 | 4 | ||
5 | #include <ctype.h> | ||
6 | #include <string.h> | 5 | #include <string.h> |
7 | 6 | ||
8 | int OPENSSL_strcasecmp(const char *str1, const char *str2); | 7 | int OPENSSL_strcasecmp(const char *str1, const char *str2); |
diff --git a/src/lib/libcrypto/uid.c b/src/lib/libcrypto/uid.c index 80a033270d..f6521bf816 100644 --- a/src/lib/libcrypto/uid.c +++ b/src/lib/libcrypto/uid.c | |||
@@ -1,21 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * Copyright (c) 2014 Theo de Raadt <deraadt@openbsd.org> | 2 | * Written by Theo de Raadt. Public domain. |
3 | * | ||
4 | * Permission to use, copy, modify, and distribute this software for any | ||
5 | * purpose with or without fee is hereby granted, provided that the above | ||
6 | * copyright notice and this permission notice appear in all copies. | ||
7 | * | ||
8 | * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES | ||
9 | * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF | ||
10 | * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR | ||
11 | * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES | ||
12 | * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN | ||
13 | * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF | ||
14 | * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | ||
15 | */ | 3 | */ |
16 | 4 | ||
17 | #include <openssl/crypto.h> | ||
18 | #include <openssl/opensslconf.h> | ||
19 | #include <unistd.h> | 5 | #include <unistd.h> |
20 | 6 | ||
21 | int | 7 | int |
diff --git a/src/lib/libssl/src/crypto/o_str.c b/src/lib/libssl/src/crypto/o_str.c index 6d56673b44..f7be15bd5a 100644 --- a/src/lib/libssl/src/crypto/o_str.c +++ b/src/lib/libssl/src/crypto/o_str.c | |||
@@ -2,7 +2,6 @@ | |||
2 | * Written by Theo de Raadt. Public domain. | 2 | * Written by Theo de Raadt. Public domain. |
3 | */ | 3 | */ |
4 | 4 | ||
5 | #include <ctype.h> | ||
6 | #include <string.h> | 5 | #include <string.h> |
7 | 6 | ||
8 | int OPENSSL_strcasecmp(const char *str1, const char *str2); | 7 | int OPENSSL_strcasecmp(const char *str1, const char *str2); |
diff --git a/src/lib/libssl/src/crypto/uid.c b/src/lib/libssl/src/crypto/uid.c index 80a033270d..f6521bf816 100644 --- a/src/lib/libssl/src/crypto/uid.c +++ b/src/lib/libssl/src/crypto/uid.c | |||
@@ -1,21 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * Copyright (c) 2014 Theo de Raadt <deraadt@openbsd.org> | 2 | * Written by Theo de Raadt. Public domain. |
3 | * | ||
4 | * Permission to use, copy, modify, and distribute this software for any | ||
5 | * purpose with or without fee is hereby granted, provided that the above | ||
6 | * copyright notice and this permission notice appear in all copies. | ||
7 | * | ||
8 | * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES | ||
9 | * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF | ||
10 | * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR | ||
11 | * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES | ||
12 | * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN | ||
13 | * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF | ||
14 | * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | ||
15 | */ | 3 | */ |
16 | 4 | ||
17 | #include <openssl/crypto.h> | ||
18 | #include <openssl/opensslconf.h> | ||
19 | #include <unistd.h> | 5 | #include <unistd.h> |
20 | 6 | ||
21 | int | 7 | int |