Forráskód Böngészése

Merge branch 'maint-0.3.1'

Nick Mathewson 6 éve
szülő
commit
4984d6242a
2 módosított fájl, 7 hozzáadás és 0 törlés
  1. 4 0
      changes/bug22892
  2. 3 0
      src/test/test_crypto_slow.c

+ 4 - 0
changes/bug22892

@@ -0,0 +1,4 @@
+  o Minor bugfixes (compilation):
+    - Compile correctly when both openssl 1.1.0 and libscrypt are detected.
+      Previously this would cause an error. Fixes bug 22892; bugfix on 
+      0.3.1.1-alpha.

+ 3 - 0
src/test/test_crypto_slow.c

@@ -12,8 +12,11 @@
 
 #if defined(HAVE_LIBSCRYPT_H) && defined(HAVE_LIBSCRYPT_SCRYPT)
 #define HAVE_LIBSCRYPT
+#include <libscrypt.h>
 #endif
 
+#include <openssl/evp.h>
+
 /** Run unit tests for our secret-to-key passphrase hashing functionality. */
 static void
 test_crypto_s2k_rfc2440(void *arg)