diff options
| author | bcook <> | 2018-11-11 03:27:56 +0000 |
|---|---|---|
| committer | bcook <> | 2018-11-11 03:27:56 +0000 |
| commit | 5adff594a399e61fe8e414be1939d2908db94652 (patch) | |
| tree | 126fd4ecbcff474b99f01bcc4bab4c5139569c7d | |
| parent | 8f2b762d48abaf07dc8725095b79db34774c0129 (diff) | |
| download | openbsd-5adff594a399e61fe8e414be1939d2908db94652.tar.gz openbsd-5adff594a399e61fe8e414be1939d2908db94652.tar.bz2 openbsd-5adff594a399e61fe8e414be1939d2908db94652.zip | |
include crypto.h from the correct path, remove unused variable
Diffstat (limited to '')
| -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; |
