aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/ec/ecp_nistp224.c
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2011-03-25 09:29:46 +0000
committerRichard Levitte <levitte@openssl.org>2011-03-25 09:29:46 +0000
commit30fafdebf34ba8823bc3e528e0a310fc0384b188 (patch)
tree7846e4e2203ba2e9c311d711e26442ee2d72f192 /crypto/ec/ecp_nistp224.c
parente775bbc46476b2808ce48eed598c874d8676340e (diff)
downloadopenssl-30fafdebf34ba8823bc3e528e0a310fc0384b188.tar.gz
* Configure, crypto/ec/ec.h, crypto/ec/ecp_nistp224.c, util/mkdef.pl:
Have EC_NISTP224_64_GCC_128 treated like any algorithm, and have disabled by default. If we don't do it this way, it screws up libeay.num. * util/libeay.num: make update
Diffstat (limited to 'crypto/ec/ecp_nistp224.c')
-rw-r--r--crypto/ec/ecp_nistp224.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/crypto/ec/ecp_nistp224.c b/crypto/ec/ecp_nistp224.c
index e0ca2dca17..90c3589bdf 100644
--- a/crypto/ec/ecp_nistp224.c
+++ b/crypto/ec/ecp_nistp224.c
@@ -62,7 +62,8 @@
* Inspired by Daniel J. Bernstein's public domain nistp224 implementation
* and Adam Langley's public domain 64-bit C implementation of curve25519
*/
-#ifdef EC_NISTP224_64_GCC_128
+#include <openssl/opensslconf.h>
+#ifndef OPENSSL_NO_EC_NISTP224_64_GCC_128
#include <stdint.h>
#include <string.h>
#include <openssl/err.h>