PPC assembly pack update addendum.
authorAndy Polyakov <appro@openssl.org>
Wed, 18 Dec 2013 20:39:15 +0000 (21:39 +0100)
committerAndy Polyakov <appro@openssl.org>
Wed, 18 Dec 2013 20:39:15 +0000 (21:39 +0100)
crypto/evp/e_aes.c

index 4fc4b5b676e4b83e6c4ab7f5c6aeab5c96a69b5c..b4864fe2346c3fb1aa19512f29110ecf76c9a164 100644 (file)
@@ -154,7 +154,7 @@ void AES_xts_decrypt(const char *inp,char *out,size_t len,
                        const unsigned char iv[16]);
 #endif
 
-#if    defined(VPAES_ASM) && (defined(__powerpc__) || defined(__ppc__))
+#if    defined(VPAES_ASM) && (defined(__powerpc__) || defined(__ppc__) || defined(_ARCH_PPC))
 extern unsigned int OPENSSL_ppccap_P;
 #define        VPAES_CAPABLE   (OPENSSL_ppccap_P&(1<<1))
 #endif