]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Fix the 0.3.4 part of bug 27781 (arm compilation)
authorNick Mathewson <nickm@torproject.org>
Mon, 24 Sep 2018 15:08:27 +0000 (11:08 -0400)
committerNick Mathewson <nickm@torproject.org>
Mon, 24 Sep 2018 15:08:27 +0000 (11:08 -0400)
Because with arm on OpenSSL <1.1 we don't define USE_EVP_AES_CTR, we
need to include crypto_util.h here.

changes/bug27781 [new file with mode: 0644]
src/common/aes.c

diff --git a/changes/bug27781 b/changes/bug27781
new file mode 100644 (file)
index 0000000..44d838a
--- /dev/null
@@ -0,0 +1,4 @@
+  o Major bugfixes (compilation):
+    - Fix compilation on arm (and other less-used CPUs)
+      when compiling with OpenSSL before 1.1. Fixes bug 27781;
+      bugfix on 0.3.4.1-alpha.
index 86f3472bfd919cedcf1c63915d01dd65581c6200..49bb54762f75b5d936e3222899c23aaa0c410d5e 100644 (file)
@@ -41,6 +41,7 @@ ENABLE_GCC_WARNING(redundant-decls)
 #include "util.h"
 #include "torlog.h"
 #include "di_ops.h"
+#include "crypto_util.h"
 
 #ifdef ANDROID
 /* Android's OpenSSL seems to have removed all of its Engine support. */
@@ -407,4 +408,3 @@ aes_set_iv(aes_cnt_cipher_t *cipher, const uint8_t *iv)
 }
 
 #endif /* defined(USE_EVP_AES_CTR) */
-