Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/crypto/external/bsd/openssl/dist/crypto In a "native" build, ...



details:   https://anonhg.NetBSD.org/src/rev/a29fe0870ea3
branches:  trunk
changeset: 336814:a29fe0870ea3
user:      martin <martin%NetBSD.org@localhost>
date:      Sat Mar 21 13:35:48 2015 +0000

description:
In a "native" build, this file is postprocessed by a perl script and some
lines are changed into either #define SOMETHING or #undef SOMETHING,
but in our in-tree build it is installed verbatim - so comment out all
#undef parts, to allow our makefile fragments to freely -DSOMETHING
and not have it silently canceld here.

diffstat:

 crypto/external/bsd/openssl/dist/crypto/opensslconf.h |  12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diffs (52 lines):

diff -r 3d25947e940b -r a29fe0870ea3 crypto/external/bsd/openssl/dist/crypto/opensslconf.h
--- a/crypto/external/bsd/openssl/dist/crypto/opensslconf.h     Sat Mar 21 13:28:32 2015 +0000
+++ b/crypto/external/bsd/openssl/dist/crypto/opensslconf.h     Sat Mar 21 13:35:48 2015 +0000
@@ -154,7 +154,7 @@
 
 #if defined(HEADER_BN_H) && !defined(CONFIG_HEADER_BN_H)
 #define CONFIG_HEADER_BN_H
-#undef BN_LLONG
+/* #undef BN_LLONG */
 
 /* Should we define BN_DIV2W here? */
 
@@ -174,7 +174,7 @@
 #define CONFIG_HEADER_RC4_LOCL_H
 /* if this is defined data[i] is used instead of *data, this is a %20
  * speedup on x86 */
-#undef RC4_INDEX
+/* #undef RC4_INDEX */
 #endif
 
 #if defined(HEADER_BF_LOCL_H) && !defined(CONFIG_HEADER_BF_LOCL_H)
@@ -188,18 +188,18 @@
 /* the following is tweaked from a config script, that is why it is a
  * protected undef/define */
 #ifndef DES_PTR
-#undef DES_PTR
+/* #undef DES_PTR */
 #endif
 
 /* This helps C compiler generate the correct code for multiple functional
  * units.  It reduces register dependancies at the expense of 2 more
  * registers */
 #ifndef DES_RISC1
-#undef DES_RISC1
+/* #undef DES_RISC1 */
 #endif
 
 #ifndef DES_RISC2
-#undef DES_RISC2
+/* #undef DES_RISC2 */
 #endif
 
 #if defined(DES_RISC1) && defined(DES_RISC2)
@@ -209,7 +209,7 @@
 /* Unroll the inner loop, this sometimes helps, sometimes hinders.
  * Very mucy CPU dependant */
 #ifndef DES_UNROLL
-#undef DES_UNROLL
+/* #undef DES_UNROLL */
 #endif
 
 /* These default values were supplied by



Home | Main Index | Thread Index | Old Index