Hello.

This is the ppccap.c's patch for Mac OS X with PowerPC G3.
OpenSSL with PowerPC G3 is working fine. But always clash without 
OPENSSL_ppccap=0.

So I made patch.

Thanks for Your jobs.

-----------------------------------------------------------------------------------
diff -urNd openssl-1.0.1i.orig/crypto/ppccap.c openssl-1.0.1i/crypto/ppccap.c
--- openssl-1.0.1i.orig/crypto/ppccap.c 2014-08-07 06:10:56.000000000 +0900
+++ openssl-1.0.1i/crypto/ppccap.c      2014-09-30 20:20:05.000000000 +0900
@@ -84,6 +84,10 @@
 
        OPENSSL_ppccap_P = 0;
 
+#if (defined(__APPLE__) && !defined(__ALTIVEC__))
+       return;
+#endif
+
 #if defined(_AIX)
        if (sizeof(size_t)==4
 # if defined(_SC_AIX_KERNEL_BITMODE)

-----------------------------------------------------------------------------------



===========================
Haruhiko Nakasu
[email protected]
http://www.asahi-net.or.jp/~mn5h-nks/

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [email protected]
Automated List Manager                           [email protected]

Reply via email to