Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/boringssl.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Langley <agl@chromium.org>2014-07-11 04:07:14 +0400
committerAdam Langley <agl@google.com>2014-07-11 23:04:04 +0400
commit0113a4fb60c3b6e9e93a217d5b4d373eb343a8c6 (patch)
tree249fa04520e982bfe7c62b9342070a366288e2cc /crypto/bn/rsaz_exp.c
parent925fee36e1f6dcad56e60fccca5fa069e09979f7 (diff)
Support building with PNaCl.
PNaCl needs OPENSSL_NO_ASM to work and a couple of cases were missing because it hasn't previously been tested. Additionally, it defined _BSD_SOURCE and others on the command line, causing duplicate definition errors when defined in source code. It's missing readdir_r. It uses newlib, which appears to use u_short in socket.h without ever defining it. Change-Id: Ieccfc7365723d0521f6327eebe9f44a2afc57406 Reviewed-on: https://boringssl-review.googlesource.com/1140 Reviewed-by: Adam Langley <agl@google.com>
Diffstat (limited to 'crypto/bn/rsaz_exp.c')
-rw-r--r--crypto/bn/rsaz_exp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/bn/rsaz_exp.c b/crypto/bn/rsaz_exp.c
index 10376870..c8027520 100644
--- a/crypto/bn/rsaz_exp.c
+++ b/crypto/bn/rsaz_exp.c
@@ -42,7 +42,7 @@
#include <openssl/base.h>
-#if defined(OPENSSL_X86_64)
+#if !defined(OPENSSL_NO_ASM) && defined(OPENSSL_X86_64)
#include "rsaz_exp.h"