summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbcook <bcook@openbsd.org>2018-11-11 03:27:56 +0000
committerbcook <bcook@openbsd.org>2018-11-11 03:27:56 +0000
commitf85e69015a63a048352d169cd6f8e2d65c5731a0 (patch)
tree6ba52e9285eb6c5d157b3928baa1e338aa0fd755
parentAdd support for RSA PSS algorithims being used in sigalgs. (diff)
downloadwireguard-openbsd-f85e69015a63a048352d169cd6f8e2d65c5731a0.tar.xz
wireguard-openbsd-f85e69015a63a048352d169cd6f8e2d65c5731a0.zip
include crypto.h from the correct path, remove unused variable
-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;