summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2014-04-18 15:53:25 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2014-04-18 15:53:25 +0000
commit3e0d668af08034adf4283a65d22d9add427b1a30 (patch)
tree1a3e500056cc1443de2ebf43e6ddf941f90154cf /lib
parent3bc02608240d2138c80edbd3fa729478c8803da8 (diff)
remove include files not needed
Diffstat (limited to 'lib')
-rw-r--r--lib/libcrypto/o_str.c1
-rw-r--r--lib/libcrypto/uid.c18
2 files changed, 2 insertions, 17 deletions
diff --git a/lib/libcrypto/o_str.c b/lib/libcrypto/o_str.c
index 6d56673b445..f7be15bd5a0 100644
--- a/lib/libcrypto/o_str.c
+++ b/lib/libcrypto/o_str.c
@@ -2,7 +2,6 @@
* Written by Theo de Raadt. Public domain.
*/
-#include <ctype.h>
#include <string.h>
int OPENSSL_strcasecmp(const char *str1, const char *str2);
diff --git a/lib/libcrypto/uid.c b/lib/libcrypto/uid.c
index 80a033270dd..f6521bf8165 100644
--- a/lib/libcrypto/uid.c
+++ b/lib/libcrypto/uid.c
@@ -1,21 +1,7 @@
-/*
- * Copyright (c) 2014 Theo de Raadt <deraadt@openbsd.org>
- *
- * Permission to use, copy, modify, and distribute this software for any
- * purpose with or without fee is hereby granted, provided that the above
- * copyright notice and this permission notice appear in all copies.
- *
- * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
- * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
- * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
- * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
- * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
- * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
- * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+/*
+ * Written by Theo de Raadt. Public domain.
*/
-#include <openssl/crypto.h>
-#include <openssl/opensslconf.h>
#include <unistd.h>
int