Browse Source

Add #ifdefs so RSAZ is only built on x86-64.

Change-Id: I5ec6b59e75120029348ce71c76e49a2d6e010913
kris/onging/CECPQ3_patch15
Adam Langley 10 years ago
parent
commit
23b460df02
1 changed files with 6 additions and 0 deletions
  1. +6
    -0
      crypto/bn/rsaz_exp.c

+ 6
- 0
crypto/bn/rsaz_exp.c View File

@@ -40,6 +40,10 @@
* (2) University of Haifa, Israel * * (2) University of Haifa, Israel *
*****************************************************************************/ *****************************************************************************/


#include <openssl/base.h>

#if defined(OPENSSL_X86_64)

#include "rsaz_exp.h" #include "rsaz_exp.h"


#include <openssl/mem.h> #include <openssl/mem.h>
@@ -318,3 +322,5 @@ void RSAZ_512_mod_exp(BN_ULONG result[8],


OPENSSL_cleanse(storage,sizeof(storage)); OPENSSL_cleanse(storage,sizeof(storage));
} }

#endif /* OPENSSL_X86_64 */

Loading…
Cancel
Save