summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorBrent Cook <bcook@cvs.openbsd.org>2018-11-11 03:27:57 +0000
committerBrent Cook <bcook@cvs.openbsd.org>2018-11-11 03:27:57 +0000
commitb7a02204b882b363ec2891365e07af048d8474c6 (patch)
tree32f8ea478c1add915c8f0d695eb710ab187603c1 /lib
parentd105c2f0b545345617d7a569127930f65a222f8a (diff)
include crypto.h from the correct path, remove unused variable
Diffstat (limited to 'lib')
-rw-r--r--lib/libcrypto/armcap.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/lib/libcrypto/armcap.c b/lib/libcrypto/armcap.c
index 7ee94d48b12..3fda1853261 100644
--- a/lib/libcrypto/armcap.c
+++ b/lib/libcrypto/armcap.c
@@ -1,10 +1,10 @@
-/* $OpenBSD: armcap.c,v 1.6 2014/06/20 21:00:46 deraadt Exp $ */
+/* $OpenBSD: armcap.c,v 1.7 2018/11/11 03:27:56 bcook Exp $ */
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <setjmp.h>
#include <signal.h>
-#include <crypto.h>
+#include <openssl/crypto.h>
#include "arm_arch.h"
@@ -31,9 +31,6 @@ void OPENSSL_cpuid_setup(void) __attribute__((constructor));
void
OPENSSL_cpuid_setup(void)
{
-#ifndef __OpenBSD__
- char *e;
-#endif
#if __ARM_ARCH__ >= 7
struct sigaction ill_oact, ill_act;
sigset_t oset;