PERFORCE change 117489 for review
Oleksandr Tymoshenko
gonzo at FreeBSD.org
Fri Apr 6 09:48:44 UTC 2007
http://perforce.freebsd.org/chv.cgi?CH=117489
Change 117489 by gonzo at gonzo_jeeves on 2007/04/06 09:48:05
o Sync opensslconf-mips.h (make it just like -arm one)
Affected files ...
.. //depot/projects/mips2/src/secure/lib/libcrypto/opensslconf-mips.h#3 edit
Differences ...
==== //depot/projects/mips2/src/secure/lib/libcrypto/opensslconf-mips.h#3 (text+ko) ====
@@ -1,17 +1,43 @@
-/* $FreeBSD$ */
+/* $FreeBSD: src/secure/lib/libcrypto/opensslconf-arm.h,v 1.3 2006/10/01 07:56:43 simon Exp $ */
/* opensslconf.h */
-
/* WARNING: Generated automatically from opensslconf.h.in by Configure. */
/* OpenSSL was configured with the following options: */
+#ifndef OPENSSL_DOING_MAKEDEPEND
+
+/* Disabled by default in OpenSSL 0.9.8. */
+#ifndef OPENSSL_NO_CAMELLIA
+# define OPENSSL_NO_CAMELLIA
+#endif
+/* libgmp is not in the FreeBSD base system. */
+#ifndef OPENSSL_NO_GMP
+# define OPENSSL_NO_GMP
+#endif
+/* The Kerberos 5 support is MIT-specific. */
+#ifndef OPENSSL_NO_KRB5
+# define OPENSSL_NO_KRB5
+#endif
+
+#endif /* OPENSSL_DOING_MAKEDEPEND */
+#ifndef OPENSSL_THREADS
+# define OPENSSL_THREADS
+#endif
+#ifndef OPENSSL_NO_STATIC_ENGINE
+# define OPENSSL_NO_STATIC_ENGINE
+#endif
+
+/* The OPENSSL_NO_* macros are also defined as NO_* if the application
+ asks for it. This is a transient feature that is provided for those
+ who haven't had the time to do the appropriate changes in their
+ applications. */
#ifdef OPENSSL_ALGORITHM_DEFINES
- /* no ciphers excluded */
-#endif
-#ifdef OPENSSL_THREAD_DEFINES
-# ifndef THREADS
-# define THREADS
+# if defined(OPENSSL_NO_GMP) && !defined(NO_GMP)
+# define NO_GMP
+# endif
+# if defined(OPENSSL_NO_KRB5) && !defined(NO_KRB5)
+# define NO_KRB5
+# endif
# endif
-#endif
#ifdef OPENSSL_OTHER_DEFINES
# ifndef NO_ASM
# define NO_ASM
@@ -30,8 +56,11 @@
#endif
#endif
+#undef OPENSSL_UNISTD
#define OPENSSL_UNISTD <unistd.h>
+#undef OPENSSL_EXPORT_VAR_AS_FUNCTION
+
#if defined(HEADER_IDEA_H) && !defined(IDEA_INT)
#define IDEA_INT unsigned int
#endif
@@ -65,7 +94,7 @@
#endif
#endif
-#if (defined(HEADER_DES_H) || defined(HEADER_NEW_DES_H)) && !defined(DES_LONG)
+#if (defined(HEADER_NEW_DES_H) || defined(HEADER_DES_H)) && !defined(DES_LONG)
/* If this is set to 'unsigned int' on a DEC Alpha, this gives about a
* %20 speed up (longs are 8 bytes, int's are 4). */
#ifndef DES_LONG
@@ -115,11 +144,11 @@
* units. It reduces register dependancies at the expense of 2 more
* registers */
#ifndef DES_RISC1
-#undef DES_RISC1
+#define DES_RISC1
#endif
#ifndef DES_RISC2
-#define DES_RISC2
+#undef DES_RISC2
#endif
#if defined(DES_RISC1) && defined(DES_RISC2)
@@ -174,5 +203,3 @@
#endif /* DES_DEFAULT_OPTIONS */
#endif /* HEADER_DES_LOCL_H */
-/* The Kerberos 5 support is MIT-specific. */
-#define OPENSSL_NO_KRB5
More information about the p4-projects
mailing list