projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
New ctrl to set current certificate.
[openssl.git]
/
crypto
/
ppccap.c
diff --git
a/crypto/ppccap.c
b/crypto/ppccap.c
index 2e2f3fc5c0cfacf784abd9d1572ef05a868fb2ba..d78bfbcdbb88265e1906ba03fa1b92280dcc9f34 100644
(file)
--- a/
crypto/ppccap.c
+++ b/
crypto/ppccap.c
@@
-13,7
+13,7
@@
#define PPC_FPU64 (1<<0)
#define PPC_ALTIVEC (1<<1)
#define PPC_FPU64 (1<<0)
#define PPC_ALTIVEC (1<<1)
-
static
int OPENSSL_ppccap_P = 0;
+
unsigned
int OPENSSL_ppccap_P = 0;
static sigset_t all_masked;
static sigset_t all_masked;
@@
-25,7
+25,7
@@
int bn_mul_mont(BN_ULONG *rp, const BN_ULONG *ap, const BN_ULONG *bp, const BN_U
if (sizeof(size_t)==4)
{
if (sizeof(size_t)==4)
{
-#if (defined(__APPLE__) && defined(__MACH__))
+#if
1 ||
(defined(__APPLE__) && defined(__MACH__))
if (num>=8 && (num&3)==0 && (OPENSSL_ppccap_P&PPC_FPU64))
return bn_mul_mont_fpu64(rp,ap,bp,np,n0,num);
#else
if (num>=8 && (num&3)==0 && (OPENSSL_ppccap_P&PPC_FPU64))
return bn_mul_mont_fpu64(rp,ap,bp,np,n0,num);
#else