From 455b97ce03e47e95dd1e82064b65eb686dc87f47 Mon Sep 17 00:00:00 2001
From: bcook <>
Date: Sun, 11 Nov 2018 03:27:56 +0000
Subject: include crypto.h from the correct path, remove unused variable

---
 src/lib/libcrypto/armcap.c | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

(limited to 'src/lib')

diff --git a/src/lib/libcrypto/armcap.c b/src/lib/libcrypto/armcap.c
index 7ee94d48b1..3fda185326 100644
--- a/src/lib/libcrypto/armcap.c
+++ b/src/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;
-- 
cgit v1.2.3-55-g6feb