[tor-commits] [tor-browser-bundle/master] Bug #10383: Enable NIST P224 and P256 accel support for 64bit builds.

mikeperry at torproject.org mikeperry at torproject.org
Sun Mar 30 04:04:37 UTC 2014


commit e9a962ab77fe8f809da011dd944c965c2e038fc8
Author: Mike Perry <mikeperry-git at torproject.org>
Date:   Sat Mar 29 21:03:50 2014 -0700

    Bug #10383: Enable NIST P224 and P256 accel support for 64bit builds.
---
 gitian/descriptors/linux/gitian-tor.yml |    7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/gitian/descriptors/linux/gitian-tor.yml b/gitian/descriptors/linux/gitian-tor.yml
index f0cb682..73181a0 100644
--- a/gitian/descriptors/linux/gitian-tor.yml
+++ b/gitian/descriptors/linux/gitian-tor.yml
@@ -65,7 +65,12 @@ script: |
   cd openssl-*
   find -type f | xargs touch --date="$REFERENCE_DATETIME"
   #./Configure -shared --prefix=$INSTDIR/openssl linux-elf
-  ./config -shared --prefix=$INSTDIR/openssl #enable-ec_nistp_64_gcc_128
+  if [ $GBUILD_BITS == "64" ];
+  then
+    ./config -shared --prefix=$INSTDIR/openssl enable-ec_nistp_64_gcc_128
+  else
+    ./config -shared --prefix=$INSTDIR/openssl
+  fi
   make
   make install
   cp $INSTDIR/openssl/lib/libssl.so.1.0.0 $INSTDIR/Tor/



More information about the tor-commits mailing list