opensslconf.h
Go to the documentation of this file.00001
00002
00003
00004
00005 #ifndef OPENSSL_SYSNAME_WIN32
00006 # define OPENSSL_SYSNAME_WIN32
00007 #endif
00008 #ifndef OPENSSL_DOING_MAKEDEPEND
00009
00010 #ifndef OPENSSL_NO_CAMELLIA
00011 # define OPENSSL_NO_CAMELLIA
00012 #endif
00013 #ifndef OPENSSL_NO_GMP
00014 # define OPENSSL_NO_GMP
00015 #endif
00016 #ifndef OPENSSL_NO_KRB5
00017 # define OPENSSL_NO_KRB5
00018 #endif
00019 #ifndef OPENSSL_NO_MDC2
00020 # define OPENSSL_NO_MDC2
00021 #endif
00022 #ifndef OPENSSL_NO_RC5
00023 # define OPENSSL_NO_RC5
00024 #endif
00025 #ifndef OPENSSL_NO_RFC3779
00026 # define OPENSSL_NO_RFC3779
00027 #endif
00028
00029 #endif
00030 #ifndef OPENSSL_THREADS
00031 # define OPENSSL_THREADS
00032 #endif
00033
00034
00035
00036
00037
00038 #ifdef OPENSSL_ALGORITHM_DEFINES
00039 # if defined(OPENSSL_NO_CAMELLIA) && !defined(NO_CAMELLIA)
00040 # define NO_CAMELLIA
00041 # endif
00042 # if defined(OPENSSL_NO_GMP) && !defined(NO_GMP)
00043 # define NO_GMP
00044 # endif
00045 # if defined(OPENSSL_NO_KRB5) && !defined(NO_KRB5)
00046 # define NO_KRB5
00047 # endif
00048 # if defined(OPENSSL_NO_MDC2) && !defined(NO_MDC2)
00049 # define NO_MDC2
00050 # endif
00051 # if defined(OPENSSL_NO_RC5) && !defined(NO_RC5)
00052 # define NO_RC5
00053 # endif
00054 # if defined(OPENSSL_NO_RFC3779) && !defined(NO_RFC3779)
00055 # define NO_RFC3779
00056 # endif
00057 #endif
00058
00059
00060
00061
00062 #undef I386_ONLY
00063
00064 #if !(defined(VMS) || defined(__VMS))
00065 #if defined(HEADER_CRYPTLIB_H) && !defined(OPENSSLDIR)
00066 #define ENGINESDIR "/usr/local/ssl/lib/engines"
00067 #define OPENSSLDIR "/usr/local/ssl"
00068 #endif
00069 #endif
00070
00071 #undef OPENSSL_UNISTD
00072 #define OPENSSL_UNISTD <unistd.h>
00073
00074 #undef OPENSSL_EXPORT_VAR_AS_FUNCTION
00075 #define OPENSSL_EXPORT_VAR_AS_FUNCTION
00076
00077 #if defined(HEADER_IDEA_H) && !defined(IDEA_INT)
00078 #define IDEA_INT unsigned int
00079 #endif
00080
00081 #if defined(HEADER_MD2_H) && !defined(MD2_INT)
00082 #define MD2_INT unsigned int
00083 #endif
00084
00085 #if defined(HEADER_RC2_H) && !defined(RC2_INT)
00086
00087 #define RC2_INT unsigned int
00088 #endif
00089
00090 #if defined(HEADER_RC4_H)
00091 #if !defined(RC4_INT)
00092
00093
00094
00095
00096
00097
00098
00099 #define RC4_INT unsigned int
00100 #endif
00101 #if !defined(RC4_CHUNK)
00102
00103
00104
00105
00106 #undef RC4_CHUNK
00107 #endif
00108 #endif
00109
00110 #if (defined(HEADER_NEW_DES_H) || defined(HEADER_DES_H)) && !defined(DES_LONG)
00111
00112
00113 #ifndef DES_LONG
00114 #define DES_LONG unsigned long
00115 #endif
00116 #endif
00117
00118 #if defined(HEADER_BN_H) && !defined(CONFIG_HEADER_BN_H)
00119 #define CONFIG_HEADER_BN_H
00120 #define BN_LLONG
00121
00122
00123
00124
00125
00126
00127
00128 #undef SIXTY_FOUR_BIT_LONG
00129 #undef SIXTY_FOUR_BIT
00130 #define THIRTY_TWO_BIT
00131 #undef SIXTEEN_BIT
00132 #undef EIGHT_BIT
00133 #endif
00134
00135 #if defined(HEADER_RC4_LOCL_H) && !defined(CONFIG_HEADER_RC4_LOCL_H)
00136 #define CONFIG_HEADER_RC4_LOCL_H
00137
00138
00139 #define RC4_INDEX
00140 #endif
00141
00142 #if defined(HEADER_BF_LOCL_H) && !defined(CONFIG_HEADER_BF_LOCL_H)
00143 #define CONFIG_HEADER_BF_LOCL_H
00144 #undef BF_PTR
00145 #endif
00146
00147 #if defined(HEADER_DES_LOCL_H) && !defined(CONFIG_HEADER_DES_LOCL_H)
00148 #define CONFIG_HEADER_DES_LOCL_H
00149 #ifndef DES_DEFAULT_OPTIONS
00150
00151
00152 #ifndef DES_PTR
00153 #undef DES_PTR
00154 #endif
00155
00156
00157
00158
00159 #ifndef DES_RISC1
00160 #undef DES_RISC1
00161 #endif
00162
00163 #ifndef DES_RISC2
00164 #undef DES_RISC2
00165 #endif
00166
00167 #if defined(DES_RISC1) && defined(DES_RISC2)
00168 YOU SHOULD NOT HAVE BOTH DES_RISC1 AND DES_RISC2 DEFINED!!!!!
00169 #endif
00170
00171
00172
00173 #ifndef DES_UNROLL
00174 #undef DES_UNROLL
00175 #endif
00176
00177
00178
00179
00180 #if !defined(DES_PTR) && !defined(DES_RISC1) && !defined(DES_RISC2) && !defined(DES_UNROLL)
00181
00182
00183
00184
00185
00186
00187 #if defined( sun )
00188 # define DES_PTR
00189 # define DES_RISC1
00190 # define DES_UNROLL
00191 #elif defined( __ultrix )
00192 # define DES_PTR
00193 # define DES_RISC2
00194 # define DES_UNROLL
00195 #elif defined( __osf1__ )
00196 # define DES_PTR
00197 # define DES_RISC2
00198 #elif defined ( _AIX )
00199
00200 #elif defined( __hpux )
00201
00202 #elif defined( __aux )
00203
00204 #elif defined( __dgux )
00205 # define DES_UNROLL
00206 #elif defined( __sgi )
00207 # define DES_PTR
00208 # define DES_RISC2
00209 # define DES_UNROLL
00210 #elif defined(i386) || defined(__i386__)
00211 # define DES_PTR
00212 # define DES_RISC1
00213 # define DES_UNROLL
00214 #endif
00215 #endif
00216
00217 #endif
00218 #endif