diff options
author | bcook <> | 2018-11-11 03:27:56 +0000 |
---|---|---|
committer | bcook <> | 2018-11-11 03:27:56 +0000 |
commit | 455b97ce03e47e95dd1e82064b65eb686dc87f47 (patch) | |
tree | 126fd4ecbcff474b99f01bcc4bab4c5139569c7d /src/lib | |
parent | e9d8287ddb7095901012153bc704c8aac2466589 (diff) | |
download | openbsd-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.c | 7 |
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)); | |||
31 | void | 31 | void |
32 | OPENSSL_cpuid_setup(void) | 32 | OPENSSL_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; |