summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/armcap.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/armcap.c')
-rw-r--r--src/lib/libcrypto/armcap.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/lib/libcrypto/armcap.c b/src/lib/libcrypto/armcap.c
index 330fea25a7..7ee94d48b1 100644
--- a/src/lib/libcrypto/armcap.c
+++ b/src/lib/libcrypto/armcap.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: armcap.c,v 1.5 2014/06/12 15:49:27 deraadt Exp $ */ 1/* $OpenBSD: armcap.c,v 1.6 2014/06/20 21:00:46 deraadt 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>
@@ -44,13 +44,6 @@ OPENSSL_cpuid_setup(void)
44 return; 44 return;
45 trigger = 1; 45 trigger = 1;
46 46
47#ifndef __OpenBSD__
48 if ((e = getenv("OPENSSL_armcap"))) {
49 OPENSSL_armcap_P = strtoul(e, NULL, 0);
50 return;
51 }
52#endif
53
54 OPENSSL_armcap_P = 0; 47 OPENSSL_armcap_P = 0;
55 48
56#if __ARM_ARCH__ >= 7 49#if __ARM_ARCH__ >= 7