summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorbcook <>2018-11-11 03:27:56 +0000
committerbcook <>2018-11-11 03:27:56 +0000
commit455b97ce03e47e95dd1e82064b65eb686dc87f47 (patch)
tree126fd4ecbcff474b99f01bcc4bab4c5139569c7d /src/lib
parente9d8287ddb7095901012153bc704c8aac2466589 (diff)
downloadopenbsd-455b97ce03e47e95dd1e82064b65eb686dc87f47.tar.gz
openbsd-455b97ce03e47e95dd1e82064b65eb686dc87f47.tar.bz2
openbsd-455b97ce03e47e95dd1e82064b65eb686dc87f47.zip
include crypto.h from the correct path, remove unused variable
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/libcrypto/armcap.c7
1 files changed, 2 insertions, 5 deletions
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 @@
1/* $OpenBSD: armcap.c,v 1.6 2014/06/20 21:00:46 deraadt Exp $ */ 1/* $OpenBSD: armcap.c,v 1.7 2018/11/11 03:27:56 bcook Exp $ */
2#include <stdio.h> 2#include <stdio.h>
3#include <stdlib.h> 3#include <stdlib.h>
4#include <string.h> 4#include <string.h>
5#include <setjmp.h> 5#include <setjmp.h>
6#include <signal.h> 6#include <signal.h>
7#include <crypto.h> 7#include <openssl/crypto.h>
8 8
9#include "arm_arch.h" 9#include "arm_arch.h"
10 10
@@ -31,9 +31,6 @@ void OPENSSL_cpuid_setup(void) __attribute__((constructor));
31void 31void
32OPENSSL_cpuid_setup(void) 32OPENSSL_cpuid_setup(void)
33{ 33{
34#ifndef __OpenBSD__
35 char *e;
36#endif
37#if __ARM_ARCH__ >= 7 34#if __ARM_ARCH__ >= 7
38 struct sigaction ill_oact, ill_act; 35 struct sigaction ill_oact, ill_act;
39 sigset_t oset; 36 sigset_t oset;