diff options
author | markus <> | 2003-05-12 02:18:40 +0000 |
---|---|---|
committer | markus <> | 2003-05-12 02:18:40 +0000 |
commit | d4fcd82bb7f6d603bd61e19a81ba97337b89dfca (patch) | |
tree | d52e3a0f1f08f65ad283027e560e17ed0d720462 /src/lib/libssl/test | |
parent | 582bbd139cd2afd58d10dc051c5b0b989b441074 (diff) | |
download | openbsd-d4fcd82bb7f6d603bd61e19a81ba97337b89dfca.tar.gz openbsd-d4fcd82bb7f6d603bd61e19a81ba97337b89dfca.tar.bz2 openbsd-d4fcd82bb7f6d603bd61e19a81ba97337b89dfca.zip |
merge 0.9.7b with local changes; crank majors for libssl/libcrypto
Diffstat (limited to 'src/lib/libssl/test')
-rw-r--r-- | src/lib/libssl/test/Makefile.ssl | 384 | ||||
-rw-r--r-- | src/lib/libssl/test/maketests.com | 262 | ||||
-rw-r--r-- | src/lib/libssl/test/methtest.c | 4 | ||||
-rw-r--r-- | src/lib/libssl/test/testgen | 2 | ||||
-rw-r--r-- | src/lib/libssl/test/testssl | 16 | ||||
-rw-r--r-- | src/lib/libssl/test/testssl.com | 32 |
6 files changed, 349 insertions, 351 deletions
diff --git a/src/lib/libssl/test/Makefile.ssl b/src/lib/libssl/test/Makefile.ssl index f489332a65..373f17a929 100644 --- a/src/lib/libssl/test/Makefile.ssl +++ b/src/lib/libssl/test/Makefile.ssl | |||
@@ -15,6 +15,9 @@ MAKE= make -f $(MAKEFILE) | |||
15 | MAKEDEPPROG= makedepend | 15 | MAKEDEPPROG= makedepend |
16 | MAKEDEPEND= $(TOP)/util/domd $(TOP) -MD $(MAKEDEPPROG) | 16 | MAKEDEPEND= $(TOP)/util/domd $(TOP) -MD $(MAKEDEPPROG) |
17 | PERL= perl | 17 | PERL= perl |
18 | # KRB5 stuff | ||
19 | KRB5_INCLUDES= | ||
20 | LIBKRB5= | ||
18 | 21 | ||
19 | PEX_LIBS= | 22 | PEX_LIBS= |
20 | EX_LIBS= #-lnsl -lsocket | 23 | EX_LIBS= #-lnsl -lsocket |
@@ -116,158 +119,162 @@ tags: | |||
116 | tests: exe apps $(TESTS) | 119 | tests: exe apps $(TESTS) |
117 | 120 | ||
118 | apps: | 121 | apps: |
119 | @(cd ../apps; $(MAKE) CC='${CC}' PLATFORM='${PLATFORM}' CFLAG='${CFLAG}' SDIRS='$(SDIRS)' INSTALLTOP='${INSTALLTOP}' PEX_LIBS='${PEX_LIBS}' EX_LIBS='${EX_LIBS}' BN_ASM='${BN_ASM}' DES_ENC='${DES_ENC}' BF_ENC='${BF_ENC}' CAST_ENC='${CAST_ENC}' RC4_ENC='${RC4_ENC}' RC5_ENC='${RC5_ENC}' SHA1_ASM_OBJ='${SHA1_ASM_OBJ}' MD5_ASM_OBJ='${MD5_ASM_OBJ}' RMD160_ASM_OBJ='${RMD160_ASM_OBJ}' AR='${AR}' PROCESSOR='${PROCESSOR}' PERL='${PERL}' RANLIB='${RANLIB}' TESTS='${TESTS}' KRB5_INCLUDES='${KRB5_INCLUDES}' LIBKRB5='${LIBKRB5}' EXE_EXT='${EXE_EXT}' SHARED_LIBS='${SHARED_LIBS}' SHLIB_EXT='${SHLIB_EXT}' SHLIB_TARGET='${SHLIB_TARGET}' all) | 122 | @(cd ..; $(MAKE) DIRS=apps all) |
120 | 123 | ||
121 | alltests: | 124 | SET_SO_PATHS=OSSL_LIBPATH="`cd ..; pwd`"; \ |
122 | (LIBPATH="`cd ..; pwd`"; LD_LIBRARY_PATH=$$LIBPATH; DYLD_LIBRARY_PATH=$$LIBPATH; SHLIB_PATH=$$LIBPATH; \ | 125 | LD_LIBRARY_PATH="$$OSSL_LIBPATH:$$LD_LIBRARY_PATH"; \ |
123 | export LD_LIBRARY_PATH DYLD_LIBRARY_PATH SHLIB_PATH LIBPATH; \ | 126 | DYLD_LIBRARY_PATH="$$OSSL_LIBPATH:$$DYLD_LIBRARY_PATH"; \ |
124 | $(MAKE) CC='${CC}' CFLAG='${CFLAG}' INSTALLTOP='${INSTALLTOP}' PEX_LIBS='${PEX_LIBS}' EX_LIBS='${EX_LIBS}' alltests.chooser) | 127 | SHLIB_PATH="$$OSSL_LIBPATH:$$SHLIB_PATH"; \ |
125 | alltests.chooser: \ | 128 | LIBPATH="$$OSSL_LIBPATH:$$LIBPATH"; \ |
129 | if [ "$(PLATFORM)" = "Cygwin" ]; then PATH="$${LIBPATH}:$$PATH"; fi; \ | ||
130 | export LD_LIBRARY_PATH DYLD_LIBRARY_PATH SHLIB_PATH LIBPATH PATH | ||
131 | |||
132 | alltests: \ | ||
126 | test_des test_idea test_sha test_md4 test_md5 test_hmac \ | 133 | test_des test_idea test_sha test_md4 test_md5 test_hmac \ |
127 | test_md2 test_mdc2 \ | 134 | test_md2 test_mdc2 \ |
128 | test_rmd test_rc2 test_rc4 test_rc5 test_bf test_cast test_rd \ | 135 | test_rmd test_rc2 test_rc4 test_rc5 test_bf test_cast test_aes \ |
129 | test_rand test_bn test_ec test_enc test_x509 test_rsa test_crl test_sid \ | 136 | test_rand test_bn test_ec test_enc test_x509 test_rsa test_crl test_sid \ |
130 | test_gen test_req test_pkcs7 test_verify test_dh test_dsa \ | 137 | test_gen test_req test_pkcs7 test_verify test_dh test_dsa \ |
131 | test_ss test_ca test_engine test_evp test_ssl | 138 | test_ss test_ca test_engine test_evp test_ssl |
132 | 139 | ||
133 | test_evp: | 140 | test_evp: |
134 | ./$(EVPTEST) evptests.txt | 141 | $(SET_SO_PATHS); ./$(EVPTEST) evptests.txt |
135 | 142 | ||
136 | test_des: | 143 | test_des: |
137 | ./$(DESTEST) | 144 | $(SET_SO_PATHS); ./$(DESTEST) |
138 | 145 | ||
139 | test_idea: | 146 | test_idea: |
140 | ./$(IDEATEST) | 147 | $(SET_SO_PATHS); ./$(IDEATEST) |
141 | 148 | ||
142 | test_sha: | 149 | test_sha: |
143 | ./$(SHATEST) | 150 | $(SET_SO_PATHS); ./$(SHATEST) |
144 | ./$(SHA1TEST) | 151 | $(SET_SO_PATHS); ./$(SHA1TEST) |
145 | 152 | ||
146 | test_mdc2: | 153 | test_mdc2: |
147 | ./$(MDC2TEST) | 154 | $(SET_SO_PATHS); ./$(MDC2TEST) |
148 | 155 | ||
149 | test_md5: | 156 | test_md5: |
150 | ./$(MD5TEST) | 157 | $(SET_SO_PATHS); ./$(MD5TEST) |
151 | 158 | ||
152 | test_md4: | 159 | test_md4: |
153 | ./$(MD4TEST) | 160 | $(SET_SO_PATHS); ./$(MD4TEST) |
154 | 161 | ||
155 | test_hmac: | 162 | test_hmac: |
156 | ./$(HMACTEST) | 163 | $(SET_SO_PATHS); ./$(HMACTEST) |
157 | 164 | ||
158 | test_md2: | 165 | test_md2: |
159 | ./$(MD2TEST) | 166 | $(SET_SO_PATHS); ./$(MD2TEST) |
160 | 167 | ||
161 | test_rmd: | 168 | test_rmd: |
162 | ./$(RMDTEST) | 169 | $(SET_SO_PATHS); ./$(RMDTEST) |
163 | 170 | ||
164 | test_bf: | 171 | test_bf: |
165 | ./$(BFTEST) | 172 | $(SET_SO_PATHS); ./$(BFTEST) |
166 | 173 | ||
167 | test_cast: | 174 | test_cast: |
168 | ./$(CASTTEST) | 175 | $(SET_SO_PATHS); ./$(CASTTEST) |
169 | 176 | ||
170 | test_rc2: | 177 | test_rc2: |
171 | ./$(RC2TEST) | 178 | $(SET_SO_PATHS); ./$(RC2TEST) |
172 | 179 | ||
173 | test_rc4: | 180 | test_rc4: |
174 | ./$(RC4TEST) | 181 | $(SET_SO_PATHS); ./$(RC4TEST) |
175 | 182 | ||
176 | test_rc5: | 183 | test_rc5: |
177 | ./$(RC5TEST) | 184 | $(SET_SO_PATHS); ./$(RC5TEST) |
178 | 185 | ||
179 | test_rand: | 186 | test_rand: |
180 | ./$(RANDTEST) | 187 | $(SET_SO_PATHS); ./$(RANDTEST) |
181 | 188 | ||
182 | test_enc: | 189 | test_enc: |
183 | @sh ./testenc | 190 | @$(SET_SO_PATHS); sh ./testenc |
184 | 191 | ||
185 | test_x509: | 192 | test_x509: |
186 | echo test normal x509v1 certificate | 193 | echo test normal x509v1 certificate |
187 | sh ./tx509 2>/dev/null | 194 | $(SET_SO_PATHS); sh ./tx509 2>/dev/null |
188 | echo test first x509v3 certificate | 195 | echo test first x509v3 certificate |
189 | sh ./tx509 v3-cert1.pem 2>/dev/null | 196 | $(SET_SO_PATHS); sh ./tx509 v3-cert1.pem 2>/dev/null |
190 | echo test second x509v3 certificate | 197 | echo test second x509v3 certificate |
191 | sh ./tx509 v3-cert2.pem 2>/dev/null | 198 | $(SET_SO_PATHS); sh ./tx509 v3-cert2.pem 2>/dev/null |
192 | 199 | ||
193 | test_rsa: | 200 | test_rsa: |
194 | @sh ./trsa 2>/dev/null | 201 | @$(SET_SO_PATHS); sh ./trsa 2>/dev/null |
195 | ./$(RSATEST) | 202 | $(SET_SO_PATHS); ./$(RSATEST) |
196 | 203 | ||
197 | test_crl: | 204 | test_crl: |
198 | @sh ./tcrl 2>/dev/null | 205 | @$(SET_SO_PATHS); sh ./tcrl 2>/dev/null |
199 | 206 | ||
200 | test_sid: | 207 | test_sid: |
201 | @sh ./tsid 2>/dev/null | 208 | @$(SET_SO_PATHS); sh ./tsid 2>/dev/null |
202 | 209 | ||
203 | test_req: | 210 | test_req: |
204 | @sh ./treq 2>/dev/null | 211 | @$(SET_SO_PATHS); sh ./treq 2>/dev/null |
205 | @sh ./treq testreq2.pem 2>/dev/null | 212 | @$(SET_SO_PATHS); sh ./treq testreq2.pem 2>/dev/null |
206 | 213 | ||
207 | test_pkcs7: | 214 | test_pkcs7: |
208 | @sh ./tpkcs7 2>/dev/null | 215 | @$(SET_SO_PATHS); sh ./tpkcs7 2>/dev/null |
209 | @sh ./tpkcs7d 2>/dev/null | 216 | @$(SET_SO_PATHS); sh ./tpkcs7d 2>/dev/null |
210 | 217 | ||
211 | test_bn: | 218 | test_bn: |
212 | @echo starting big number library test, could take a while... | 219 | @echo starting big number library test, could take a while... |
213 | @./$(BNTEST) >tmp.bntest | 220 | @$(SET_SO_PATHS); ./$(BNTEST) >tmp.bntest |
214 | @echo quit >>tmp.bntest | 221 | @echo quit >>tmp.bntest |
215 | @echo "running bc" | 222 | @echo "running bc" |
216 | @<tmp.bntest sh -c "`sh ./bctest ignore`" | $(PERL) -e '$$i=0; while (<STDIN>) {if (/^test (.*)/) {print STDERR "\nverify $$1";} elsif (!/^0$$/) {die "\nFailed! bc: $$_";} else {print STDERR "."; $$i++;}} print STDERR "\n$$i tests passed\n"' | 223 | @<tmp.bntest sh -c "`sh ./bctest ignore`" | $(PERL) -e '$$i=0; while (<STDIN>) {if (/^test (.*)/) {print STDERR "\nverify $$1";} elsif (!/^0$$/) {die "\nFailed! bc: $$_";} else {print STDERR "."; $$i++;}} print STDERR "\n$$i tests passed\n"' |
217 | @echo 'test a^b%c implementations' | 224 | @echo 'test a^b%c implementations' |
218 | ./$(EXPTEST) | 225 | $(SET_SO_PATHS); ./$(EXPTEST) |
219 | 226 | ||
220 | test_ec: | 227 | test_ec: |
221 | @echo 'test elliptic curves' | 228 | @echo 'test elliptic curves' |
222 | ./$(ECTEST) | 229 | $(SET_SO_PATHS); ./$(ECTEST) |
223 | 230 | ||
224 | test_verify: | 231 | test_verify: |
225 | @echo "The following command should have some OK's and some failures" | 232 | @echo "The following command should have some OK's and some failures" |
226 | @echo "There are definitly a few expired certificates" | 233 | @echo "There are definitly a few expired certificates" |
227 | -../apps/openssl verify -CApath ../certs ../certs/*.pem | 234 | -$(SET_SO_PATHS); ../apps/openssl verify -CApath ../certs ../certs/*.pem |
228 | 235 | ||
229 | test_dh: | 236 | test_dh: |
230 | @echo "Generate a set of DH parameters" | 237 | @echo "Generate a set of DH parameters" |
231 | ./$(DHTEST) | 238 | $(SET_SO_PATHS); ./$(DHTEST) |
232 | 239 | ||
233 | test_dsa: | 240 | test_dsa: |
234 | @echo "Generate a set of DSA parameters" | 241 | @echo "Generate a set of DSA parameters" |
235 | ./$(DSATEST) | 242 | $(SET_SO_PATHS); ./$(DSATEST) |
236 | ./$(DSATEST) -app2_1 | 243 | $(SET_SO_PATHS); ./$(DSATEST) -app2_1 |
237 | 244 | ||
238 | test_gen: | 245 | test_gen: |
239 | @echo "Generate and verify a certificate request" | 246 | @echo "Generate and verify a certificate request" |
240 | @sh ./testgen | 247 | @$(SET_SO_PATHS); sh ./testgen |
241 | 248 | ||
242 | test_ss keyU.ss certU.ss certCA.ss: testss | 249 | test_ss keyU.ss certU.ss certCA.ss: testss |
243 | @echo "Generate and certify a test certificate" | 250 | @echo "Generate and certify a test certificate" |
244 | @sh ./testss | 251 | @$(SET_SO_PATHS); sh ./testss |
245 | 252 | ||
246 | test_engine: | 253 | test_engine: |
247 | @echo "Manipulate the ENGINE structures" | 254 | @echo "Manipulate the ENGINE structures" |
248 | ./$(ENGINETEST) | 255 | $(SET_SO_PATHS); ./$(ENGINETEST) |
249 | 256 | ||
250 | test_ssl: keyU.ss certU.ss certCA.ss | 257 | test_ssl: keyU.ss certU.ss certCA.ss |
251 | @echo "test SSL protocol" | 258 | @echo "test SSL protocol" |
252 | @sh ./testssl keyU.ss certU.ss certCA.ss | 259 | @$(SET_SO_PATHS); sh ./testssl keyU.ss certU.ss certCA.ss |
253 | 260 | ||
254 | test_ca: | 261 | test_ca: |
255 | @if ../apps/openssl no-rsa; then \ | 262 | @$(SET_SO_PATHS); if ../apps/openssl no-rsa; then \ |
256 | echo "skipping CA.sh test -- requires RSA"; \ | 263 | echo "skipping CA.sh test -- requires RSA"; \ |
257 | else \ | 264 | else \ |
258 | echo "Generate and certify a test certificate via the 'ca' program"; \ | 265 | echo "Generate and certify a test certificate via the 'ca' program"; \ |
259 | sh ./testca; \ | 266 | sh ./testca; \ |
260 | fi | 267 | fi |
261 | 268 | ||
262 | test_rd: #$(RDTEST) | 269 | test_aes: #$(AESTEST) |
263 | # @echo "test Rijndael" | 270 | # @echo "test Rijndael" |
264 | # ./$(RDTEST) | 271 | # $(SET_SO_PATHS); ./$(AESTEST) |
265 | 272 | ||
266 | lint: | 273 | lint: |
267 | lint -DLINT $(INCLUDES) $(SRC)>fluff | 274 | lint -DLINT $(INCLUDES) $(SRC)>fluff |
268 | 275 | ||
269 | depend: | 276 | depend: |
270 | $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(PROGS) $(SRC) | 277 | $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(SRC) |
271 | 278 | ||
272 | dclean: | 279 | dclean: |
273 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new | 280 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new |
@@ -277,101 +284,241 @@ clean: | |||
277 | rm -f .rnd tmp.bntest tmp.bctest *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff $(EXE) *.ss *.srl log | 284 | rm -f .rnd tmp.bntest tmp.bctest *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff $(EXE) *.ss *.srl log |
278 | 285 | ||
279 | $(DLIBSSL): | 286 | $(DLIBSSL): |
280 | (cd ../ssl; $(MAKE) CC='${CC}' PLATFORM='${PLATFORM}' CFLAG='${CFLAG}' SDIRS='$(SDIRS)' INSTALLTOP='${INSTALLTOP}' PEX_LIBS='${PEX_LIBS}' EX_LIBS='${EX_LIBS}' BN_ASM='${BN_ASM}' DES_ENC='${DES_ENC}' BF_ENC='${BF_ENC}' CAST_ENC='${CAST_ENC}' RC4_ENC='${RC4_ENC}' RC5_ENC='${RC5_ENC}' SHA1_ASM_OBJ='${SHA1_ASM_OBJ}' MD5_ASM_OBJ='${MD5_ASM_OBJ}' RMD160_ASM_OBJ='${RMD160_ASM_OBJ}' AR='${AR}' PROCESSOR='${PROCESSOR}' PERL='${PERL}' RANLIB='${RANLIB}' TESTS='${TESTS}' KRB5_INCLUDES='${KRB5_INCLUDES}' LIBKRB5='${LIBKRB5}' EXE_EXT='${EXE_EXT}' SHARED_LIBS='${SHARED_LIBS}' SHLIB_EXT='${SHLIB_EXT}' SHLIB_TARGET='${SHLIB_TARGET}') | 287 | (cd ..; $(MAKE) DIRS=ssl all) |
281 | 288 | ||
282 | $(DLIBCRYPTO): | 289 | $(DLIBCRYPTO): |
283 | (cd ../crypto; $(MAKE) CC='${CC}' PLATFORM='${PLATFORM}' CFLAG='${CFLAG}' SDIRS='$(SDIRS)' INSTALLTOP='${INSTALLTOP}' PEX_LIBS='${PEX_LIBS}' EX_LIBS='${EX_LIBS}' BN_ASM='${BN_ASM}' DES_ENC='${DES_ENC}' BF_ENC='${BF_ENC}' CAST_ENC='${CAST_ENC}' RC4_ENC='${RC4_ENC}' RC5_ENC='${RC5_ENC}' SHA1_ASM_OBJ='${SHA1_ASM_OBJ}' MD5_ASM_OBJ='${MD5_ASM_OBJ}' RMD160_ASM_OBJ='${RMD160_ASM_OBJ}' AR='${AR}' PROCESSOR='${PROCESSOR}' PERL='${PERL}' RANLIB='${RANLIB}' TESTS='${TESTS}' KRB5_INCLUDES='${KRB5_INCLUDES}' LIBKRB5='${LIBKRB5}' EXE_EXT='${EXE_EXT}' SHARED_LIBS='${SHARED_LIBS}' SHLIB_EXT='${SHLIB_EXT}' SHLIB_TARGET='${SHLIB_TARGET}') | 290 | (cd ..; $(MAKE) DIRS=crypto all) |
284 | 291 | ||
285 | $(RSATEST): $(RSATEST).o $(DLIBCRYPTO) | 292 | $(RSATEST): $(RSATEST).o $(DLIBCRYPTO) |
286 | $(CC) -o $(RSATEST) $(CFLAGS) $(RSATEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) | 293 | if [ "$(SHLIB_TARGET)" = "hpux-shared" -o "$(SHLIB_TARGET)" = "darwin-shared" ] ; then \ |
294 | $(CC) -o $(RSATEST) $(CFLAGS) $(RSATEST).o $(PEX_LIBS) $(DLIBCRYPTO) $(EX_LIBS) ; \ | ||
295 | else \ | ||
296 | LD_LIBRARY_PATH=..:$$LD_LIBRARY_PATH \ | ||
297 | $(CC) -o $(RSATEST) $(CFLAGS) $(RSATEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) ; \ | ||
298 | fi | ||
287 | 299 | ||
288 | $(BNTEST): $(BNTEST).o $(DLIBCRYPTO) | 300 | $(BNTEST): $(BNTEST).o $(DLIBCRYPTO) |
289 | $(CC) -o $(BNTEST) $(CFLAGS) $(BNTEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) | 301 | if [ "$(SHLIB_TARGET)" = "hpux-shared" -o "$(SHLIB_TARGET)" = "darwin-shared" ] ; then \ |
302 | $(CC) -o $(BNTEST) $(CFLAGS) $(BNTEST).o $(PEX_LIBS) $(DLIBCRYPTO) $(EX_LIBS) ; \ | ||
303 | else \ | ||
304 | LD_LIBRARY_PATH=..:$$LD_LIBRARY_PATH \ | ||
305 | $(CC) -o $(BNTEST) $(CFLAGS) $(BNTEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) ; \ | ||
306 | fi | ||
290 | 307 | ||
291 | $(ECTEST): $(ECTEST).o $(DLIBCRYPTO) | 308 | $(ECTEST): $(ECTEST).o $(DLIBCRYPTO) |
292 | $(CC) -o $(ECTEST) $(CFLAGS) $(ECTEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) | 309 | if [ "$(SHLIB_TARGET)" = "hpux-shared" -o "$(SHLIB_TARGET)" = "darwin-shared" ] ; then \ |
310 | $(CC) -o $(ECTEST) $(CFLAGS) $(ECTEST).o $(PEX_LIBS) $(DLIBCRYPTO) $(EX_LIBS) ; \ | ||
311 | else \ | ||
312 | LD_LIBRARY_PATH=..:$$LD_LIBRARY_PATH \ | ||
313 | $(CC) -o $(ECTEST) $(CFLAGS) $(ECTEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) ; \ | ||
314 | fi | ||
293 | 315 | ||
294 | $(EXPTEST): $(EXPTEST).o $(DLIBCRYPTO) | 316 | $(EXPTEST): $(EXPTEST).o $(DLIBCRYPTO) |
295 | $(CC) -o $(EXPTEST) $(CFLAGS) $(EXPTEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) | 317 | if [ "$(SHLIB_TARGET)" = "hpux-shared" -o "$(SHLIB_TARGET)" = "darwin-shared" ] ; then \ |
318 | $(CC) -o $(EXPTEST) $(CFLAGS) $(EXPTEST).o $(PEX_LIBS) $(DLIBCRYPTO) $(EX_LIBS) ; \ | ||
319 | else \ | ||
320 | LD_LIBRARY_PATH=..:$$LD_LIBRARY_PATH \ | ||
321 | $(CC) -o $(EXPTEST) $(CFLAGS) $(EXPTEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) ; \ | ||
322 | fi | ||
296 | 323 | ||
297 | $(IDEATEST): $(IDEATEST).o $(DLIBCRYPTO) | 324 | $(IDEATEST): $(IDEATEST).o $(DLIBCRYPTO) |
298 | $(CC) -o $(IDEATEST) $(CFLAGS) $(IDEATEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) | 325 | if [ "$(SHLIB_TARGET)" = "hpux-shared" -o "$(SHLIB_TARGET)" = "darwin-shared" ] ; then \ |
326 | $(CC) -o $(IDEATEST) $(CFLAGS) $(IDEATEST).o $(PEX_LIBS) $(DLIBCRYPTO) $(EX_LIBS) ; \ | ||
327 | else \ | ||
328 | LD_LIBRARY_PATH=..:$$LD_LIBRARY_PATH \ | ||
329 | $(CC) -o $(IDEATEST) $(CFLAGS) $(IDEATEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) ; \ | ||
330 | fi | ||
299 | 331 | ||
300 | $(MD2TEST): $(MD2TEST).o $(DLIBCRYPTO) | 332 | $(MD2TEST): $(MD2TEST).o $(DLIBCRYPTO) |
301 | $(CC) -o $(MD2TEST) $(CFLAGS) $(MD2TEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) | 333 | if [ "$(SHLIB_TARGET)" = "hpux-shared" -o "$(SHLIB_TARGET)" = "darwin-shared" ] ; then \ |
334 | $(CC) -o $(MD2TEST) $(CFLAGS) $(MD2TEST).o $(PEX_LIBS) $(DLIBCRYPTO) $(EX_LIBS) ; \ | ||
335 | else \ | ||
336 | LD_LIBRARY_PATH=..:$$LD_LIBRARY_PATH \ | ||
337 | $(CC) -o $(MD2TEST) $(CFLAGS) $(MD2TEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) ; \ | ||
338 | fi | ||
302 | 339 | ||
303 | $(SHATEST): $(SHATEST).o $(DLIBCRYPTO) | 340 | $(SHATEST): $(SHATEST).o $(DLIBCRYPTO) |
304 | $(CC) -o $(SHATEST) $(CFLAGS) $(SHATEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) | 341 | if [ "$(SHLIB_TARGET)" = "hpux-shared" -o "$(SHLIB_TARGET)" = "darwin-shared" ] ; then \ |
342 | $(CC) -o $(SHATEST) $(CFLAGS) $(SHATEST).o $(PEX_LIBS) $(DLIBCRYPTO) $(EX_LIBS) ; \ | ||
343 | else \ | ||
344 | LD_LIBRARY_PATH=..:$$LD_LIBRARY_PATH \ | ||
345 | $(CC) -o $(SHATEST) $(CFLAGS) $(SHATEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) ; \ | ||
346 | fi | ||
305 | 347 | ||
306 | $(SHA1TEST): $(SHA1TEST).o $(DLIBCRYPTO) | 348 | $(SHA1TEST): $(SHA1TEST).o $(DLIBCRYPTO) |
307 | $(CC) -o $(SHA1TEST) $(CFLAGS) $(SHA1TEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) | 349 | if [ "$(SHLIB_TARGET)" = "hpux-shared" -o "$(SHLIB_TARGET)" = "darwin-shared" ] ; then \ |
350 | $(CC) -o $(SHA1TEST) $(CFLAGS) $(SHA1TEST).o $(PEX_LIBS) $(DLIBCRYPTO) $(EX_LIBS) ; \ | ||
351 | else \ | ||
352 | LD_LIBRARY_PATH=..:$$LD_LIBRARY_PATH \ | ||
353 | $(CC) -o $(SHA1TEST) $(CFLAGS) $(SHA1TEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) ; \ | ||
354 | fi | ||
308 | 355 | ||
309 | $(RMDTEST): $(RMDTEST).o $(DLIBCRYPTO) | 356 | $(RMDTEST): $(RMDTEST).o $(DLIBCRYPTO) |
310 | $(CC) -o $(RMDTEST) $(CFLAGS) $(RMDTEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) | 357 | if [ "$(SHLIB_TARGET)" = "hpux-shared" -o "$(SHLIB_TARGET)" = "darwin-shared" ] ; then \ |
358 | $(CC) -o $(RMDTEST) $(CFLAGS) $(RMDTEST).o $(PEX_LIBS) $(DLIBCRYPTO) $(EX_LIBS) ; \ | ||
359 | else \ | ||
360 | LD_LIBRARY_PATH=..:$$LD_LIBRARY_PATH \ | ||
361 | $(CC) -o $(RMDTEST) $(CFLAGS) $(RMDTEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) ; \ | ||
362 | fi | ||
311 | 363 | ||
312 | $(MDC2TEST): $(MDC2TEST).o $(DLIBCRYPTO) | 364 | $(MDC2TEST): $(MDC2TEST).o $(DLIBCRYPTO) |
313 | $(CC) -o $(MDC2TEST) $(CFLAGS) $(MDC2TEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) | 365 | if [ "$(SHLIB_TARGET)" = "hpux-shared" -o "$(SHLIB_TARGET)" = "darwin-shared" ] ; then \ |
366 | $(CC) -o $(MDC2TEST) $(CFLAGS) $(MDC2TEST).o $(PEX_LIBS) $(DLIBCRYPTO) $(EX_LIBS) ; \ | ||
367 | else \ | ||
368 | LD_LIBRARY_PATH=..:$$LD_LIBRARY_PATH \ | ||
369 | $(CC) -o $(MDC2TEST) $(CFLAGS) $(MDC2TEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) ; \ | ||
370 | fi | ||
314 | 371 | ||
315 | $(MD4TEST): $(MD4TEST).o $(DLIBCRYPTO) | 372 | $(MD4TEST): $(MD4TEST).o $(DLIBCRYPTO) |
316 | $(CC) -o $(MD4TEST) $(CFLAGS) $(MD4TEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) | 373 | if [ "$(SHLIB_TARGET)" = "hpux-shared" -o "$(SHLIB_TARGET)" = "darwin-shared" ] ; then \ |
374 | $(CC) -o $(MD4TEST) $(CFLAGS) $(MD4TEST).o $(PEX_LIBS) $(DLIBCRYPTO) $(EX_LIBS) ; \ | ||
375 | else \ | ||
376 | LD_LIBRARY_PATH=..:$$LD_LIBRARY_PATH \ | ||
377 | $(CC) -o $(MD4TEST) $(CFLAGS) $(MD4TEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) ; \ | ||
378 | fi | ||
317 | 379 | ||
318 | $(MD5TEST): $(MD5TEST).o $(DLIBCRYPTO) | 380 | $(MD5TEST): $(MD5TEST).o $(DLIBCRYPTO) |
319 | $(CC) -o $(MD5TEST) $(CFLAGS) $(MD5TEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) | 381 | if [ "$(SHLIB_TARGET)" = "hpux-shared" -o "$(SHLIB_TARGET)" = "darwin-shared" ] ; then \ |
382 | $(CC) -o $(MD5TEST) $(CFLAGS) $(MD5TEST).o $(PEX_LIBS) $(DLIBCRYPTO) $(EX_LIBS) ; \ | ||
383 | else \ | ||
384 | LD_LIBRARY_PATH=..:$$LD_LIBRARY_PATH \ | ||
385 | $(CC) -o $(MD5TEST) $(CFLAGS) $(MD5TEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) ; \ | ||
386 | fi | ||
320 | 387 | ||
321 | $(HMACTEST): $(HMACTEST).o $(DLIBCRYPTO) | 388 | $(HMACTEST): $(HMACTEST).o $(DLIBCRYPTO) |
322 | $(CC) -o $(HMACTEST) $(CFLAGS) $(HMACTEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) | 389 | if [ "$(SHLIB_TARGET)" = "hpux-shared" -o "$(SHLIB_TARGET)" = "darwin-shared" ] ; then \ |
390 | $(CC) -o $(HMACTEST) $(CFLAGS) $(HMACTEST).o $(PEX_LIBS) $(DLIBCRYPTO) $(EX_LIBS) ; \ | ||
391 | else \ | ||
392 | LD_LIBRARY_PATH=..:$$LD_LIBRARY_PATH \ | ||
393 | $(CC) -o $(HMACTEST) $(CFLAGS) $(HMACTEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) ; \ | ||
394 | fi | ||
323 | 395 | ||
324 | $(RC2TEST): $(RC2TEST).o $(DLIBCRYPTO) | 396 | $(RC2TEST): $(RC2TEST).o $(DLIBCRYPTO) |
325 | $(CC) -o $(RC2TEST) $(CFLAGS) $(RC2TEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) | 397 | if [ "$(SHLIB_TARGET)" = "hpux-shared" -o "$(SHLIB_TARGET)" = "darwin-shared" ] ; then \ |
398 | $(CC) -o $(RC2TEST) $(CFLAGS) $(RC2TEST).o $(PEX_LIBS) $(DLIBCRYPTO) $(EX_LIBS) ; \ | ||
399 | else \ | ||
400 | LD_LIBRARY_PATH=..:$$LD_LIBRARY_PATH \ | ||
401 | $(CC) -o $(RC2TEST) $(CFLAGS) $(RC2TEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) ; \ | ||
402 | fi | ||
326 | 403 | ||
327 | $(BFTEST): $(BFTEST).o $(DLIBCRYPTO) | 404 | $(BFTEST): $(BFTEST).o $(DLIBCRYPTO) |
328 | $(CC) -o $(BFTEST) $(CFLAGS) $(BFTEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) | 405 | if [ "$(SHLIB_TARGET)" = "hpux-shared" -o "$(SHLIB_TARGET)" = "darwin-shared" ] ; then \ |
406 | $(CC) -o $(BFTEST) $(CFLAGS) $(BFTEST).o $(PEX_LIBS) $(DLIBCRYPTO) $(EX_LIBS) ; \ | ||
407 | else \ | ||
408 | LD_LIBRARY_PATH=..:$$LD_LIBRARY_PATH \ | ||
409 | $(CC) -o $(BFTEST) $(CFLAGS) $(BFTEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) ; \ | ||
410 | fi | ||
329 | 411 | ||
330 | $(CASTTEST): $(CASTTEST).o $(DLIBCRYPTO) | 412 | $(CASTTEST): $(CASTTEST).o $(DLIBCRYPTO) |
331 | $(CC) -o $(CASTTEST) $(CFLAGS) $(CASTTEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) | 413 | if [ "$(SHLIB_TARGET)" = "hpux-shared" -o "$(SHLIB_TARGET)" = "darwin-shared" ] ; then \ |
414 | $(CC) -o $(CASTTEST) $(CFLAGS) $(CASTTEST).o $(PEX_LIBS) $(DLIBCRYPTO) $(EX_LIBS) ; \ | ||
415 | else \ | ||
416 | LD_LIBRARY_PATH=..:$$LD_LIBRARY_PATH \ | ||
417 | $(CC) -o $(CASTTEST) $(CFLAGS) $(CASTTEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) ; \ | ||
418 | fi | ||
332 | 419 | ||
333 | $(RC4TEST): $(RC4TEST).o $(DLIBCRYPTO) | 420 | $(RC4TEST): $(RC4TEST).o $(DLIBCRYPTO) |
334 | $(CC) -o $(RC4TEST) $(CFLAGS) $(RC4TEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) | 421 | if [ "$(SHLIB_TARGET)" = "hpux-shared" -o "$(SHLIB_TARGET)" = "darwin-shared" ] ; then \ |
422 | $(CC) -o $(RC4TEST) $(CFLAGS) $(RC4TEST).o $(PEX_LIBS) $(DLIBCRYPTO) $(EX_LIBS) ; \ | ||
423 | else \ | ||
424 | LD_LIBRARY_PATH=..:$$LD_LIBRARY_PATH \ | ||
425 | $(CC) -o $(RC4TEST) $(CFLAGS) $(RC4TEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) ; \ | ||
426 | fi | ||
335 | 427 | ||
336 | $(RC5TEST): $(RC5TEST).o $(DLIBCRYPTO) | 428 | $(RC5TEST): $(RC5TEST).o $(DLIBCRYPTO) |
337 | $(CC) -o $(RC5TEST) $(CFLAGS) $(RC5TEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) | 429 | if [ "$(SHLIB_TARGET)" = "hpux-shared" -o "$(SHLIB_TARGET)" = "darwin-shared" ] ; then \ |
430 | $(CC) -o $(RC5TEST) $(CFLAGS) $(RC5TEST).o $(PEX_LIBS) $(DLIBCRYPTO) $(EX_LIBS) ; \ | ||
431 | else \ | ||
432 | LD_LIBRARY_PATH=..:$$LD_LIBRARY_PATH \ | ||
433 | $(CC) -o $(RC5TEST) $(CFLAGS) $(RC5TEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) ; \ | ||
434 | fi | ||
338 | 435 | ||
339 | $(DESTEST): $(DESTEST).o $(DLIBCRYPTO) | 436 | $(DESTEST): $(DESTEST).o $(DLIBCRYPTO) |
340 | $(CC) -o $(DESTEST) $(CFLAGS) $(DESTEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) | 437 | if [ "$(SHLIB_TARGET)" = "hpux-shared" -o "$(SHLIB_TARGET)" = "darwin-shared" ] ; then \ |
438 | $(CC) -o $(DESTEST) $(CFLAGS) $(DESTEST).o $(PEX_LIBS) $(DLIBCRYPTO) $(EX_LIBS) ; \ | ||
439 | else \ | ||
440 | LD_LIBRARY_PATH=..:$$LD_LIBRARY_PATH \ | ||
441 | $(CC) -o $(DESTEST) $(CFLAGS) $(DESTEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) ; \ | ||
442 | fi | ||
341 | 443 | ||
342 | $(RANDTEST): $(RANDTEST).o $(DLIBCRYPTO) | 444 | $(RANDTEST): $(RANDTEST).o $(DLIBCRYPTO) |
343 | $(CC) -o $(RANDTEST) $(CFLAGS) $(RANDTEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) | 445 | if [ "$(SHLIB_TARGET)" = "hpux-shared" -o "$(SHLIB_TARGET)" = "darwin-shared" ] ; then \ |
446 | $(CC) -o $(RANDTEST) $(CFLAGS) $(RANDTEST).o $(PEX_LIBS) $(DLIBCRYPTO) $(EX_LIBS) ; \ | ||
447 | else \ | ||
448 | LD_LIBRARY_PATH=..:$$LD_LIBRARY_PATH \ | ||
449 | $(CC) -o $(RANDTEST) $(CFLAGS) $(RANDTEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) ; \ | ||
450 | fi | ||
344 | 451 | ||
345 | $(DHTEST): $(DHTEST).o $(DLIBCRYPTO) | 452 | $(DHTEST): $(DHTEST).o $(DLIBCRYPTO) |
346 | $(CC) -o $(DHTEST) $(CFLAGS) $(DHTEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) | 453 | if [ "$(SHLIB_TARGET)" = "hpux-shared" -o "$(SHLIB_TARGET)" = "darwin-shared" ] ; then \ |
454 | $(CC) -o $(DHTEST) $(CFLAGS) $(DHTEST).o $(PEX_LIBS) $(DLIBCRYPTO) $(EX_LIBS) ; \ | ||
455 | else \ | ||
456 | LD_LIBRARY_PATH=..:$$LD_LIBRARY_PATH \ | ||
457 | $(CC) -o $(DHTEST) $(CFLAGS) $(DHTEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) ; \ | ||
458 | fi | ||
347 | 459 | ||
348 | $(DSATEST): $(DSATEST).o $(DLIBCRYPTO) | 460 | $(DSATEST): $(DSATEST).o $(DLIBCRYPTO) |
349 | $(CC) -o $(DSATEST) $(CFLAGS) $(DSATEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) | 461 | if [ "$(SHLIB_TARGET)" = "hpux-shared" -o "$(SHLIB_TARGET)" = "darwin-shared" ] ; then \ |
462 | $(CC) -o $(DSATEST) $(CFLAGS) $(DSATEST).o $(PEX_LIBS) $(DLIBCRYPTO) $(EX_LIBS) ; \ | ||
463 | else \ | ||
464 | LD_LIBRARY_PATH=..:$$LD_LIBRARY_PATH \ | ||
465 | $(CC) -o $(DSATEST) $(CFLAGS) $(DSATEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) ; \ | ||
466 | fi | ||
350 | 467 | ||
351 | $(METHTEST): $(METHTEST).o $(DLIBCRYPTO) | 468 | $(METHTEST): $(METHTEST).o $(DLIBCRYPTO) |
352 | $(CC) -o $(METHTEST) $(CFLAGS) $(METHTEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) | 469 | if [ "$(SHLIB_TARGET)" = "hpux-shared" -o "$(SHLIB_TARGET)" = "darwin-shared" ] ; then \ |
470 | $(CC) -o $(METHTEST) $(CFLAGS) $(METHTEST).o $(PEX_LIBS) $(DLIBCRYPTO) $(EX_LIBS) ; \ | ||
471 | else \ | ||
472 | LD_LIBRARY_PATH=..:$$LD_LIBRARY_PATH \ | ||
473 | $(CC) -o $(METHTEST) $(CFLAGS) $(METHTEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) ; \ | ||
474 | fi | ||
353 | 475 | ||
354 | $(SSLTEST): $(SSLTEST).o $(DLIBSSL) $(DLIBCRYPTO) | 476 | $(SSLTEST): $(SSLTEST).o $(DLIBSSL) $(DLIBCRYPTO) |
355 | $(CC) -o $(SSLTEST) $(CFLAGS) $(SSLTEST).o $(PEX_LIBS) $(LIBSSL) $(LIBKRB5) $(LIBCRYPTO) $(EX_LIBS) | 477 | if [ "$(SHLIB_TARGET)" = "hpux-shared" -o "$(SHLIB_TARGET)" = "darwin-shared" ] ; then \ |
478 | $(CC) -o $(SSLTEST) $(CFLAGS) $(SSLTEST).o $(PEX_LIBS) $(DLIBSSL) $(LIBKRB5) $(DLIBCRYPTO) $(EX_LIBS) ; \ | ||
479 | else \ | ||
480 | LD_LIBRARY_PATH=..:$$LD_LIBRARY_PATH \ | ||
481 | $(CC) -o $(SSLTEST) $(CFLAGS) $(SSLTEST).o $(PEX_LIBS) $(LIBSSL) $(LIBKRB5) $(LIBCRYPTO) $(EX_LIBS) ; \ | ||
482 | fi | ||
356 | 483 | ||
357 | $(ENGINETEST): $(ENGINETEST).o $(DLIBCRYPTO) | 484 | $(ENGINETEST): $(ENGINETEST).o $(DLIBCRYPTO) |
358 | $(CC) -o $(ENGINETEST) $(CFLAGS) $(ENGINETEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) | 485 | if [ "$(SHLIB_TARGET)" = "hpux-shared" -o "$(SHLIB_TARGET)" = "darwin-shared" ] ; then \ |
486 | $(CC) -o $(ENGINETEST) $(CFLAGS) $(ENGINETEST).o $(PEX_LIBS) $(DLIBCRYPTO) $(EX_LIBS) ; \ | ||
487 | else \ | ||
488 | LD_LIBRARY_PATH=..:$$LD_LIBRARY_PATH \ | ||
489 | $(CC) -o $(ENGINETEST) $(CFLAGS) $(ENGINETEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) ; \ | ||
490 | fi | ||
359 | 491 | ||
360 | $(EVPTEST): $(EVPTEST).o $(DLIBCRYPTO) | 492 | $(EVPTEST): $(EVPTEST).o $(DLIBCRYPTO) |
361 | $(CC) -o $(EVPTEST) $(CFLAGS) $(EVPTEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) | 493 | if [ "$(SHLIB_TARGET)" = "hpux-shared" -o "$(SHLIB_TARGET)" = "darwin-shared" ] ; then \ |
494 | $(CC) -o $(EVPTEST) $(CFLAGS) $(EVPTEST).o $(PEX_LIBS) $(DLIBCRYPTO) $(EX_LIBS) ; \ | ||
495 | else \ | ||
496 | LD_LIBRARY_PATH=..:$$LD_LIBRARY_PATH \ | ||
497 | $(CC) -o $(EVPTEST) $(CFLAGS) $(EVPTEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) ; \ | ||
498 | fi | ||
362 | 499 | ||
363 | #$(RDTEST).o: $(RDTEST).c | 500 | #$(AESTEST).o: $(AESTEST).c |
364 | # $(CC) -c $(CFLAGS) -DINTERMEDIATE_VALUE_KAT -DTRACE_KAT_MCT $(RDTEST).c | 501 | # $(CC) -c $(CFLAGS) -DINTERMEDIATE_VALUE_KAT -DTRACE_KAT_MCT $(AESTEST).c |
365 | 502 | ||
366 | #$(RDTEST): $(RDTEST).o $(DLIBCRYPTO) | 503 | #$(AESTEST): $(AESTEST).o $(DLIBCRYPTO) |
367 | # $(CC) -o $(RDTEST) $(CFLAGS) $(RDTEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) | 504 | # if [ "$(SHLIB_TARGET)" = "hpux-shared" -o "$(SHLIB_TARGET)" = "darwin-shared" ] ; then \ |
505 | # $(CC) -o $(AESTEST) $(CFLAGS) $(AESTEST).o $(PEX_LIBS) $(DLIBCRYPTO) $(EX_LIBS) ; \ | ||
506 | # else \ | ||
507 | # LD_LIBRARY_PATH=..:$$LD_LIBRARY_PATH \ | ||
508 | # $(CC) -o $(AESTEST) $(CFLAGS) $(AESTEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) ; \ | ||
509 | # fi | ||
368 | 510 | ||
369 | dummytest: dummytest.o $(DLIBCRYPTO) | 511 | dummytest: dummytest.o $(DLIBCRYPTO) |
370 | $(CC) -o dummytest $(CFLAGS) dummytest.o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) | 512 | if [ "$(SHLIB_TARGET)" = "hpux-shared" -o "$(SHLIB_TARGET)" = "darwin-shared" ] ; then \ |
513 | $(CC) -o dummytest $(CFLAGS) dummytest.o $(PEX_LIBS) $(DLIBCRYPTO) $(EX_LIBS) ; \ | ||
514 | else \ | ||
515 | LD_LIBRARY_PATH=..:$$LD_LIBRARY_PATH \ | ||
516 | $(CC) -o dummytest $(CFLAGS) dummytest.o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) ; \ | ||
517 | fi | ||
371 | 518 | ||
372 | # DO NOT DELETE THIS LINE -- make depend depends on it. | 519 | # DO NOT DELETE THIS LINE -- make depend depends on it. |
373 | 520 | ||
374 | bftest.o: ../include/openssl/blowfish.h ../include/openssl/e_os2.h | 521 | bftest.o: ../e_os.h ../include/openssl/blowfish.h ../include/openssl/e_os2.h |
375 | bftest.o: ../include/openssl/opensslconf.h bftest.c | 522 | bftest.o: ../include/openssl/opensslconf.h bftest.c |
376 | bntest.o: ../e_os.h ../include/openssl/aes.h ../include/openssl/asn1.h | 523 | bntest.o: ../e_os.h ../include/openssl/aes.h ../include/openssl/asn1.h |
377 | bntest.o: ../include/openssl/bio.h ../include/openssl/blowfish.h | 524 | bntest.o: ../include/openssl/bio.h ../include/openssl/blowfish.h |
@@ -394,31 +541,30 @@ bntest.o: ../include/openssl/sha.h ../include/openssl/stack.h | |||
394 | bntest.o: ../include/openssl/symhacks.h ../include/openssl/ui.h | 541 | bntest.o: ../include/openssl/symhacks.h ../include/openssl/ui.h |
395 | bntest.o: ../include/openssl/ui_compat.h ../include/openssl/x509.h | 542 | bntest.o: ../include/openssl/ui_compat.h ../include/openssl/x509.h |
396 | bntest.o: ../include/openssl/x509_vfy.h bntest.c | 543 | bntest.o: ../include/openssl/x509_vfy.h bntest.c |
397 | casttest.o: ../include/openssl/cast.h casttest.c | 544 | casttest.o: ../e_os.h ../include/openssl/cast.h ../include/openssl/e_os2.h |
545 | casttest.o: ../include/openssl/opensslconf.h casttest.c | ||
398 | destest.o: ../include/openssl/crypto.h ../include/openssl/des.h | 546 | destest.o: ../include/openssl/crypto.h ../include/openssl/des.h |
399 | destest.o: ../include/openssl/des_old.h ../include/openssl/e_os2.h | 547 | destest.o: ../include/openssl/des_old.h ../include/openssl/e_os2.h |
400 | destest.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h | 548 | destest.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h |
401 | destest.o: ../include/openssl/safestack.h ../include/openssl/stack.h | 549 | destest.o: ../include/openssl/safestack.h ../include/openssl/stack.h |
402 | destest.o: ../include/openssl/symhacks.h ../include/openssl/ui.h | 550 | destest.o: ../include/openssl/symhacks.h ../include/openssl/ui.h |
403 | destest.o: ../include/openssl/ui_compat.h destest.c | 551 | destest.o: ../include/openssl/ui_compat.h destest.c |
404 | dhtest.o: ../include/openssl/bio.h ../include/openssl/bn.h | 552 | dhtest.o: ../e_os.h ../include/openssl/bio.h ../include/openssl/bn.h |
405 | dhtest.o: ../include/openssl/crypto.h ../include/openssl/dh.h | 553 | dhtest.o: ../include/openssl/crypto.h ../include/openssl/dh.h |
406 | dhtest.o: ../include/openssl/e_os2.h ../include/openssl/err.h | 554 | dhtest.o: ../include/openssl/e_os2.h ../include/openssl/err.h |
407 | dhtest.o: ../include/openssl/lhash.h ../include/openssl/opensslconf.h | 555 | dhtest.o: ../include/openssl/lhash.h ../include/openssl/opensslconf.h |
408 | dhtest.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h | 556 | dhtest.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h |
409 | dhtest.o: ../include/openssl/rand.h ../include/openssl/safestack.h | 557 | dhtest.o: ../include/openssl/rand.h ../include/openssl/safestack.h |
410 | dhtest.o: ../include/openssl/stack.h ../include/openssl/symhacks.h dhtest.c | 558 | dhtest.o: ../include/openssl/stack.h ../include/openssl/symhacks.h dhtest.c |
411 | dsatest.o: ../include/openssl/asn1.h ../include/openssl/bio.h | 559 | dsatest.o: ../e_os.h ../include/openssl/bio.h ../include/openssl/bn.h |
412 | dsatest.o: ../include/openssl/bn.h ../include/openssl/crypto.h | 560 | dsatest.o: ../include/openssl/crypto.h ../include/openssl/dh.h |
413 | dsatest.o: ../include/openssl/dh.h ../include/openssl/dsa.h | 561 | dsatest.o: ../include/openssl/dsa.h ../include/openssl/e_os2.h |
414 | dsatest.o: ../include/openssl/e_os2.h ../include/openssl/engine.h | ||
415 | dsatest.o: ../include/openssl/err.h ../include/openssl/lhash.h | 562 | dsatest.o: ../include/openssl/err.h ../include/openssl/lhash.h |
416 | dsatest.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h | 563 | dsatest.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h |
417 | dsatest.o: ../include/openssl/ossl_typ.h ../include/openssl/rand.h | 564 | dsatest.o: ../include/openssl/ossl_typ.h ../include/openssl/rand.h |
418 | dsatest.o: ../include/openssl/rsa.h ../include/openssl/safestack.h | 565 | dsatest.o: ../include/openssl/safestack.h ../include/openssl/stack.h |
419 | dsatest.o: ../include/openssl/stack.h ../include/openssl/symhacks.h | 566 | dsatest.o: ../include/openssl/symhacks.h dsatest.c |
420 | dsatest.o: ../include/openssl/ui.h dsatest.c | 567 | ectest.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h |
421 | ectest.o: ../include/openssl/asn1.h ../include/openssl/bio.h | ||
422 | ectest.o: ../include/openssl/bn.h ../include/openssl/crypto.h | 568 | ectest.o: ../include/openssl/bn.h ../include/openssl/crypto.h |
423 | ectest.o: ../include/openssl/dh.h ../include/openssl/dsa.h | 569 | ectest.o: ../include/openssl/dh.h ../include/openssl/dsa.h |
424 | ectest.o: ../include/openssl/e_os2.h ../include/openssl/ec.h | 570 | ectest.o: ../include/openssl/e_os2.h ../include/openssl/ec.h |
@@ -439,7 +585,7 @@ enginetest.o: ../include/openssl/rand.h ../include/openssl/rsa.h | |||
439 | enginetest.o: ../include/openssl/safestack.h ../include/openssl/stack.h | 585 | enginetest.o: ../include/openssl/safestack.h ../include/openssl/stack.h |
440 | enginetest.o: ../include/openssl/symhacks.h ../include/openssl/ui.h | 586 | enginetest.o: ../include/openssl/symhacks.h ../include/openssl/ui.h |
441 | enginetest.o: enginetest.c | 587 | enginetest.o: enginetest.c |
442 | evp_test.o: ../include/openssl/aes.h ../include/openssl/asn1.h | 588 | evp_test.o: ../e_os.h ../include/openssl/aes.h ../include/openssl/asn1.h |
443 | evp_test.o: ../include/openssl/bio.h ../include/openssl/blowfish.h | 589 | evp_test.o: ../include/openssl/bio.h ../include/openssl/blowfish.h |
444 | evp_test.o: ../include/openssl/bn.h ../include/openssl/cast.h | 590 | evp_test.o: ../include/openssl/bn.h ../include/openssl/cast.h |
445 | evp_test.o: ../include/openssl/conf.h ../include/openssl/crypto.h | 591 | evp_test.o: ../include/openssl/conf.h ../include/openssl/crypto.h |
@@ -459,14 +605,14 @@ evp_test.o: ../include/openssl/rsa.h ../include/openssl/safestack.h | |||
459 | evp_test.o: ../include/openssl/sha.h ../include/openssl/stack.h | 605 | evp_test.o: ../include/openssl/sha.h ../include/openssl/stack.h |
460 | evp_test.o: ../include/openssl/symhacks.h ../include/openssl/ui.h | 606 | evp_test.o: ../include/openssl/symhacks.h ../include/openssl/ui.h |
461 | evp_test.o: ../include/openssl/ui_compat.h evp_test.c | 607 | evp_test.o: ../include/openssl/ui_compat.h evp_test.c |
462 | exptest.o: ../include/openssl/bio.h ../include/openssl/bn.h | 608 | exptest.o: ../e_os.h ../include/openssl/bio.h ../include/openssl/bn.h |
463 | exptest.o: ../include/openssl/crypto.h ../include/openssl/e_os2.h | 609 | exptest.o: ../include/openssl/crypto.h ../include/openssl/e_os2.h |
464 | exptest.o: ../include/openssl/err.h ../include/openssl/lhash.h | 610 | exptest.o: ../include/openssl/err.h ../include/openssl/lhash.h |
465 | exptest.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h | 611 | exptest.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h |
466 | exptest.o: ../include/openssl/ossl_typ.h ../include/openssl/rand.h | 612 | exptest.o: ../include/openssl/ossl_typ.h ../include/openssl/rand.h |
467 | exptest.o: ../include/openssl/safestack.h ../include/openssl/stack.h | 613 | exptest.o: ../include/openssl/safestack.h ../include/openssl/stack.h |
468 | exptest.o: ../include/openssl/symhacks.h exptest.c | 614 | exptest.o: ../include/openssl/symhacks.h exptest.c |
469 | hmactest.o: ../include/openssl/aes.h ../include/openssl/asn1.h | 615 | hmactest.o: ../e_os.h ../include/openssl/aes.h ../include/openssl/asn1.h |
470 | hmactest.o: ../include/openssl/bio.h ../include/openssl/blowfish.h | 616 | hmactest.o: ../include/openssl/bio.h ../include/openssl/blowfish.h |
471 | hmactest.o: ../include/openssl/bn.h ../include/openssl/cast.h | 617 | hmactest.o: ../include/openssl/bn.h ../include/openssl/cast.h |
472 | hmactest.o: ../include/openssl/crypto.h ../include/openssl/des.h | 618 | hmactest.o: ../include/openssl/crypto.h ../include/openssl/des.h |
@@ -484,9 +630,9 @@ hmactest.o: ../include/openssl/rsa.h ../include/openssl/safestack.h | |||
484 | hmactest.o: ../include/openssl/sha.h ../include/openssl/stack.h | 630 | hmactest.o: ../include/openssl/sha.h ../include/openssl/stack.h |
485 | hmactest.o: ../include/openssl/symhacks.h ../include/openssl/ui.h | 631 | hmactest.o: ../include/openssl/symhacks.h ../include/openssl/ui.h |
486 | hmactest.o: ../include/openssl/ui_compat.h hmactest.c | 632 | hmactest.o: ../include/openssl/ui_compat.h hmactest.c |
487 | ideatest.o: ../include/openssl/idea.h ../include/openssl/opensslconf.h | 633 | ideatest.o: ../e_os.h ../include/openssl/e_os2.h ../include/openssl/idea.h |
488 | ideatest.o: ideatest.c | 634 | ideatest.o: ../include/openssl/opensslconf.h ideatest.c |
489 | md2test.o: ../include/openssl/aes.h ../include/openssl/asn1.h | 635 | md2test.o: ../e_os.h ../include/openssl/aes.h ../include/openssl/asn1.h |
490 | md2test.o: ../include/openssl/bio.h ../include/openssl/blowfish.h | 636 | md2test.o: ../include/openssl/bio.h ../include/openssl/blowfish.h |
491 | md2test.o: ../include/openssl/bn.h ../include/openssl/cast.h | 637 | md2test.o: ../include/openssl/bn.h ../include/openssl/cast.h |
492 | md2test.o: ../include/openssl/crypto.h ../include/openssl/des.h | 638 | md2test.o: ../include/openssl/crypto.h ../include/openssl/des.h |
@@ -503,7 +649,7 @@ md2test.o: ../include/openssl/ripemd.h ../include/openssl/rsa.h | |||
503 | md2test.o: ../include/openssl/safestack.h ../include/openssl/sha.h | 649 | md2test.o: ../include/openssl/safestack.h ../include/openssl/sha.h |
504 | md2test.o: ../include/openssl/stack.h ../include/openssl/symhacks.h | 650 | md2test.o: ../include/openssl/stack.h ../include/openssl/symhacks.h |
505 | md2test.o: ../include/openssl/ui.h ../include/openssl/ui_compat.h md2test.c | 651 | md2test.o: ../include/openssl/ui.h ../include/openssl/ui_compat.h md2test.c |
506 | md4test.o: ../include/openssl/aes.h ../include/openssl/asn1.h | 652 | md4test.o: ../e_os.h ../include/openssl/aes.h ../include/openssl/asn1.h |
507 | md4test.o: ../include/openssl/bio.h ../include/openssl/blowfish.h | 653 | md4test.o: ../include/openssl/bio.h ../include/openssl/blowfish.h |
508 | md4test.o: ../include/openssl/bn.h ../include/openssl/cast.h | 654 | md4test.o: ../include/openssl/bn.h ../include/openssl/cast.h |
509 | md4test.o: ../include/openssl/crypto.h ../include/openssl/des.h | 655 | md4test.o: ../include/openssl/crypto.h ../include/openssl/des.h |
@@ -520,7 +666,7 @@ md4test.o: ../include/openssl/ripemd.h ../include/openssl/rsa.h | |||
520 | md4test.o: ../include/openssl/safestack.h ../include/openssl/sha.h | 666 | md4test.o: ../include/openssl/safestack.h ../include/openssl/sha.h |
521 | md4test.o: ../include/openssl/stack.h ../include/openssl/symhacks.h | 667 | md4test.o: ../include/openssl/stack.h ../include/openssl/symhacks.h |
522 | md4test.o: ../include/openssl/ui.h ../include/openssl/ui_compat.h md4test.c | 668 | md4test.o: ../include/openssl/ui.h ../include/openssl/ui_compat.h md4test.c |
523 | md5test.o: ../include/openssl/aes.h ../include/openssl/asn1.h | 669 | md5test.o: ../e_os.h ../include/openssl/aes.h ../include/openssl/asn1.h |
524 | md5test.o: ../include/openssl/bio.h ../include/openssl/blowfish.h | 670 | md5test.o: ../include/openssl/bio.h ../include/openssl/blowfish.h |
525 | md5test.o: ../include/openssl/bn.h ../include/openssl/cast.h | 671 | md5test.o: ../include/openssl/bn.h ../include/openssl/cast.h |
526 | md5test.o: ../include/openssl/crypto.h ../include/openssl/des.h | 672 | md5test.o: ../include/openssl/crypto.h ../include/openssl/des.h |
@@ -537,7 +683,7 @@ md5test.o: ../include/openssl/ripemd.h ../include/openssl/rsa.h | |||
537 | md5test.o: ../include/openssl/safestack.h ../include/openssl/sha.h | 683 | md5test.o: ../include/openssl/safestack.h ../include/openssl/sha.h |
538 | md5test.o: ../include/openssl/stack.h ../include/openssl/symhacks.h | 684 | md5test.o: ../include/openssl/stack.h ../include/openssl/symhacks.h |
539 | md5test.o: ../include/openssl/ui.h ../include/openssl/ui_compat.h md5test.c | 685 | md5test.o: ../include/openssl/ui.h ../include/openssl/ui_compat.h md5test.c |
540 | mdc2test.o: ../include/openssl/aes.h ../include/openssl/asn1.h | 686 | mdc2test.o: ../e_os.h ../include/openssl/aes.h ../include/openssl/asn1.h |
541 | mdc2test.o: ../include/openssl/bio.h ../include/openssl/blowfish.h | 687 | mdc2test.o: ../include/openssl/bio.h ../include/openssl/blowfish.h |
542 | mdc2test.o: ../include/openssl/bn.h ../include/openssl/cast.h | 688 | mdc2test.o: ../include/openssl/bn.h ../include/openssl/cast.h |
543 | mdc2test.o: ../include/openssl/crypto.h ../include/openssl/des.h | 689 | mdc2test.o: ../include/openssl/crypto.h ../include/openssl/des.h |
@@ -554,12 +700,16 @@ mdc2test.o: ../include/openssl/ripemd.h ../include/openssl/rsa.h | |||
554 | mdc2test.o: ../include/openssl/safestack.h ../include/openssl/sha.h | 700 | mdc2test.o: ../include/openssl/safestack.h ../include/openssl/sha.h |
555 | mdc2test.o: ../include/openssl/stack.h ../include/openssl/symhacks.h | 701 | mdc2test.o: ../include/openssl/stack.h ../include/openssl/symhacks.h |
556 | mdc2test.o: ../include/openssl/ui.h ../include/openssl/ui_compat.h mdc2test.c | 702 | mdc2test.o: ../include/openssl/ui.h ../include/openssl/ui_compat.h mdc2test.c |
557 | randtest.o: ../include/openssl/e_os2.h ../include/openssl/opensslconf.h | 703 | randtest.o: ../e_os.h ../include/openssl/e_os2.h |
558 | randtest.o: ../include/openssl/ossl_typ.h ../include/openssl/rand.h randtest.c | 704 | randtest.o: ../include/openssl/opensslconf.h ../include/openssl/ossl_typ.h |
705 | randtest.o: ../include/openssl/rand.h randtest.c | ||
706 | rc2test.o: ../e_os.h ../include/openssl/e_os2.h | ||
559 | rc2test.o: ../include/openssl/opensslconf.h ../include/openssl/rc2.h rc2test.c | 707 | rc2test.o: ../include/openssl/opensslconf.h ../include/openssl/rc2.h rc2test.c |
708 | rc4test.o: ../e_os.h ../include/openssl/e_os2.h | ||
560 | rc4test.o: ../include/openssl/opensslconf.h ../include/openssl/rc4.h rc4test.c | 709 | rc4test.o: ../include/openssl/opensslconf.h ../include/openssl/rc4.h rc4test.c |
561 | rc5test.o: ../include/openssl/rc5.h rc5test.c | 710 | rc5test.o: ../e_os.h ../include/openssl/e_os2.h |
562 | rmdtest.o: ../include/openssl/aes.h ../include/openssl/asn1.h | 711 | rc5test.o: ../include/openssl/opensslconf.h ../include/openssl/rc5.h rc5test.c |
712 | rmdtest.o: ../e_os.h ../include/openssl/aes.h ../include/openssl/asn1.h | ||
563 | rmdtest.o: ../include/openssl/bio.h ../include/openssl/blowfish.h | 713 | rmdtest.o: ../include/openssl/bio.h ../include/openssl/blowfish.h |
564 | rmdtest.o: ../include/openssl/bn.h ../include/openssl/cast.h | 714 | rmdtest.o: ../include/openssl/bn.h ../include/openssl/cast.h |
565 | rmdtest.o: ../include/openssl/crypto.h ../include/openssl/des.h | 715 | rmdtest.o: ../include/openssl/crypto.h ../include/openssl/des.h |
@@ -578,15 +728,13 @@ rmdtest.o: ../include/openssl/stack.h ../include/openssl/symhacks.h | |||
578 | rmdtest.o: ../include/openssl/ui.h ../include/openssl/ui_compat.h rmdtest.c | 728 | rmdtest.o: ../include/openssl/ui.h ../include/openssl/ui_compat.h rmdtest.c |
579 | rsa_test.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h | 729 | rsa_test.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h |
580 | rsa_test.o: ../include/openssl/bn.h ../include/openssl/crypto.h | 730 | rsa_test.o: ../include/openssl/bn.h ../include/openssl/crypto.h |
581 | rsa_test.o: ../include/openssl/dh.h ../include/openssl/dsa.h | 731 | rsa_test.o: ../include/openssl/e_os2.h ../include/openssl/err.h |
582 | rsa_test.o: ../include/openssl/e_os2.h ../include/openssl/engine.h | 732 | rsa_test.o: ../include/openssl/lhash.h ../include/openssl/opensslconf.h |
583 | rsa_test.o: ../include/openssl/err.h ../include/openssl/lhash.h | 733 | rsa_test.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h |
584 | rsa_test.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h | 734 | rsa_test.o: ../include/openssl/rand.h ../include/openssl/rsa.h |
585 | rsa_test.o: ../include/openssl/ossl_typ.h ../include/openssl/rand.h | 735 | rsa_test.o: ../include/openssl/safestack.h ../include/openssl/stack.h |
586 | rsa_test.o: ../include/openssl/rsa.h ../include/openssl/safestack.h | 736 | rsa_test.o: ../include/openssl/symhacks.h rsa_test.c |
587 | rsa_test.o: ../include/openssl/stack.h ../include/openssl/symhacks.h | 737 | sha1test.o: ../e_os.h ../include/openssl/aes.h ../include/openssl/asn1.h |
588 | rsa_test.o: ../include/openssl/ui.h rsa_test.c | ||
589 | sha1test.o: ../include/openssl/aes.h ../include/openssl/asn1.h | ||
590 | sha1test.o: ../include/openssl/bio.h ../include/openssl/blowfish.h | 738 | sha1test.o: ../include/openssl/bio.h ../include/openssl/blowfish.h |
591 | sha1test.o: ../include/openssl/bn.h ../include/openssl/cast.h | 739 | sha1test.o: ../include/openssl/bn.h ../include/openssl/cast.h |
592 | sha1test.o: ../include/openssl/crypto.h ../include/openssl/des.h | 740 | sha1test.o: ../include/openssl/crypto.h ../include/openssl/des.h |
@@ -603,7 +751,7 @@ sha1test.o: ../include/openssl/ripemd.h ../include/openssl/rsa.h | |||
603 | sha1test.o: ../include/openssl/safestack.h ../include/openssl/sha.h | 751 | sha1test.o: ../include/openssl/safestack.h ../include/openssl/sha.h |
604 | sha1test.o: ../include/openssl/stack.h ../include/openssl/symhacks.h | 752 | sha1test.o: ../include/openssl/stack.h ../include/openssl/symhacks.h |
605 | sha1test.o: ../include/openssl/ui.h ../include/openssl/ui_compat.h sha1test.c | 753 | sha1test.o: ../include/openssl/ui.h ../include/openssl/ui_compat.h sha1test.c |
606 | shatest.o: ../include/openssl/aes.h ../include/openssl/asn1.h | 754 | shatest.o: ../e_os.h ../include/openssl/aes.h ../include/openssl/asn1.h |
607 | shatest.o: ../include/openssl/bio.h ../include/openssl/blowfish.h | 755 | shatest.o: ../include/openssl/bio.h ../include/openssl/blowfish.h |
608 | shatest.o: ../include/openssl/bn.h ../include/openssl/cast.h | 756 | shatest.o: ../include/openssl/bn.h ../include/openssl/cast.h |
609 | shatest.o: ../include/openssl/crypto.h ../include/openssl/des.h | 757 | shatest.o: ../include/openssl/crypto.h ../include/openssl/des.h |
diff --git a/src/lib/libssl/test/maketests.com b/src/lib/libssl/test/maketests.com index 91e859deab..7c44e4545a 100644 --- a/src/lib/libssl/test/maketests.com +++ b/src/lib/libssl/test/maketests.com | |||
@@ -16,22 +16,10 @@ $! The test "executeables" will be placed in a directory called | |||
16 | $! [.xxx.EXE.TEST] where "xxx" denotes AXP or VAX depending on your machines | 16 | $! [.xxx.EXE.TEST] where "xxx" denotes AXP or VAX depending on your machines |
17 | $! architecture. | 17 | $! architecture. |
18 | $! | 18 | $! |
19 | $! Specify RSAREF as P1 to compile with the RSAREF library instead of | 19 | $! Specify DEBUG or NODEBUG P1 to compile with or without debugger |
20 | $! the regular one. If you specify NORSAREF it will compile with the | ||
21 | $! regular RSAREF routines. (Note: If you are in the United States | ||
22 | $! you MUST compile with RSAREF unless you have a license from RSA). | ||
23 | $! | ||
24 | $! Note: The RSAREF libraries are NOT INCLUDED and you have to | ||
25 | $! download it from "ftp://ftp.rsa.com/rsaref". You have to | ||
26 | $! get the ".tar-Z" file as the ".zip" file dosen't have the | ||
27 | $! directory structure stored. You have to extract the file | ||
28 | $! into the [.RSAREF] directory under the root directory as that | ||
29 | $! is where the scripts will look for the files. | ||
30 | $! | ||
31 | $! Specify DEBUG or NODEBUG P2 to compile with or without debugger | ||
32 | $! information. | 20 | $! information. |
33 | $! | 21 | $! |
34 | $! Specify which compiler at P3 to try to compile under. | 22 | $! Specify which compiler at P2 to try to compile under. |
35 | $! | 23 | $! |
36 | $! VAXC For VAX C. | 24 | $! VAXC For VAX C. |
37 | $! DECC For DEC C. | 25 | $! DECC For DEC C. |
@@ -40,13 +28,13 @@ $! | |||
40 | $! If you don't speficy a compiler, it will try to determine which | 28 | $! If you don't speficy a compiler, it will try to determine which |
41 | $! "C" compiler to use. | 29 | $! "C" compiler to use. |
42 | $! | 30 | $! |
43 | $! P4, if defined, sets a TCP/IP library to use, through one of the following | 31 | $! P3, if defined, sets a TCP/IP library to use, through one of the following |
44 | $! keywords: | 32 | $! keywords: |
45 | $! | 33 | $! |
46 | $! UCX for UCX | 34 | $! UCX for UCX |
47 | $! SOCKETSHR for SOCKETSHR+NETLIB | 35 | $! SOCKETSHR for SOCKETSHR+NETLIB |
48 | $! | 36 | $! |
49 | $! P5, if defined, sets a compiler thread NOT needed on OpenVMS 7.1 (and up) | 37 | $! P4, if defined, sets a compiler thread NOT needed on OpenVMS 7.1 (and up) |
50 | $! | 38 | $! |
51 | $! | 39 | $! |
52 | $! Define A TCP/IP Library That We Will Need To Link To. | 40 | $! Define A TCP/IP Library That We Will Need To Link To. |
@@ -91,10 +79,6 @@ $! Define The CRYPTO-LIB We Are To Use. | |||
91 | $! | 79 | $! |
92 | $ CRYPTO_LIB := SYS$DISK:[-.'ARCH'.EXE.CRYPTO]LIBCRYPTO.OLB | 80 | $ CRYPTO_LIB := SYS$DISK:[-.'ARCH'.EXE.CRYPTO]LIBCRYPTO.OLB |
93 | $! | 81 | $! |
94 | $! Define The RSAREF-LIB We Are To Use. | ||
95 | $! | ||
96 | $ RSAREF_LIB := SYS$DISK:[-.'ARCH'.EXE.RSAREF]LIBRSAGLUE.OLB | ||
97 | $! | ||
98 | $! Define The SSL We Are To Use. | 82 | $! Define The SSL We Are To Use. |
99 | $! | 83 | $! |
100 | $ SSL_LIB := SYS$DISK:[-.'ARCH'.EXE.SSL]LIBSSL.OLB | 84 | $ SSL_LIB := SYS$DISK:[-.'ARCH'.EXE.SSL]LIBSSL.OLB |
@@ -227,74 +211,32 @@ $! | |||
227 | $ ENDIF | 211 | $ ENDIF |
228 | $! | 212 | $! |
229 | $! Link The Program, Check To See If We Need To Link With RSAREF Or Not. | 213 | $! Link The Program, Check To See If We Need To Link With RSAREF Or Not. |
214 | $! Check To See If We Are To Link With A Specific TCP/IP Library. | ||
230 | $! | 215 | $! |
231 | $ IF (RSAREF.EQS."TRUE") | 216 | $ IF (TCPIP_LIB.NES."") |
232 | $ THEN | 217 | $ THEN |
233 | $! | 218 | $! |
234 | $! Check To See If We Are To Link With A Specific TCP/IP Library. | 219 | $! Don't Link With The RSAREF Routines And TCP/IP Library. |
235 | $! | ||
236 | $ IF (TCPIP_LIB.NES."") | ||
237 | $ THEN | ||
238 | $! | ||
239 | $! Link With The RSAREF Library And A Specific TCP/IP Library. | ||
240 | $! | ||
241 | $ LINK/'DEBUGGER'/'TRACEBACK' /EXE='EXE_FILE' - | ||
242 | 'OBJECT_FILE',- | ||
243 | 'SSL_LIB'/LIBRARY,'CRYPTO_LIB'/LIBRARY,'RSAREF_LIB'/LIBRARY, - | ||
244 | 'TCPIP_LIB','OPT_FILE'/OPTION | ||
245 | $! | ||
246 | $! Else... | ||
247 | $! | ||
248 | $ ELSE | ||
249 | $! | ||
250 | $! Link With The RSAREF Library And NO TCP/IP Library. | ||
251 | $! | ||
252 | $ LINK/'DEBUGGER'/'TRACEBACK' /EXE='EXE_FILE' - | ||
253 | 'OBJECT_FILE', - | ||
254 | 'SSL_LIB'/LIBRARY,'CRYPTO_LIB'/LIBRARY,'RSAREF_LIB'/LIBRARY, - | ||
255 | 'OPT_FILE'/OPTION | ||
256 | $! | ||
257 | $! End The TCP/IP Library Check. | ||
258 | $! | ||
259 | $ ENDIF | ||
260 | $! | ||
261 | $! Else... | ||
262 | $! | ||
263 | $ ELSE | ||
264 | $! | ||
265 | $! Don't Link With The RSAREF Routines. | ||
266 | $! | ||
267 | $! | ||
268 | $! Check To See If We Are To Link With A Specific TCP/IP Library. | ||
269 | $! | ||
270 | $ IF (TCPIP_LIB.NES."") | ||
271 | $ THEN | ||
272 | $! | ||
273 | $! Don't Link With The RSAREF Routines And TCP/IP Library. | ||
274 | $! | 220 | $! |
275 | $ LINK/'DEBUGGER'/'TRACEBACK' /EXE='EXE_FILE' - | 221 | $ LINK/'DEBUGGER'/'TRACEBACK' /EXE='EXE_FILE' - |
276 | 'OBJECT_FILE', - | 222 | 'OBJECT_FILE', - |
277 | 'SSL_LIB'/LIBRARY,'CRYPTO_LIB'/LIBRARY, - | 223 | 'SSL_LIB'/LIBRARY,'CRYPTO_LIB'/LIBRARY, - |
278 | 'TCPIP_LIB','OPT_FILE'/OPTION | 224 | 'TCPIP_LIB','OPT_FILE'/OPTION |
279 | $! | 225 | $! |
280 | $! Else... | 226 | $! Else... |
281 | $! | 227 | $! |
282 | $ ELSE | 228 | $ ELSE |
283 | $! | 229 | $! |
284 | $! Don't Link With The RSAREF Routines And Link With A TCP/IP Library. | 230 | $! Don't Link With The RSAREF Routines And Link With A TCP/IP Library. |
285 | $! | 231 | $! |
286 | $ LINK/'DEBUGGER'/'TRACEBACK' /EXE='EXE_FILE' - | 232 | $ LINK/'DEBUGGER'/'TRACEBACK' /EXE='EXE_FILE' - |
287 | 'OBJECT_FILE', - | 233 | 'OBJECT_FILE', - |
288 | 'SSL_LIB'/LIBRARY,'CRYPTO_LIB'/LIBRARY, - | 234 | 'SSL_LIB'/LIBRARY,'CRYPTO_LIB'/LIBRARY, - |
289 | 'OPT_FILE'/OPTION | 235 | 'OPT_FILE'/OPTION |
290 | $! | 236 | $! |
291 | $! End The TCP/IP Library Check. | 237 | $! End The TCP/IP Library Check. |
292 | $! | ||
293 | $ ENDIF | ||
294 | $! | ||
295 | $! End The RSAREF Link Check. | ||
296 | $! | 238 | $! |
297 | $ ENDIF | 239 | $ ENDIF |
298 | $! | 240 | $! |
299 | $! Go Back And Do It Again. | 241 | $! Go Back And Do It Again. |
300 | $! | 242 | $! |
@@ -459,32 +401,6 @@ $! End The Crypto Library Check. | |||
459 | $! | 401 | $! |
460 | $ ENDIF | 402 | $ ENDIF |
461 | $! | 403 | $! |
462 | $! See If We Need The RSAREF Library... | ||
463 | $! | ||
464 | $ IF (RSAREF.EQS."TRUE") | ||
465 | $ THEN | ||
466 | $! | ||
467 | $! Look For The Library LIBRSAGLUE.OLB. | ||
468 | $! | ||
469 | $ IF (F$SEARCH(RSAREF_LIB).EQS."") | ||
470 | $ THEN | ||
471 | $! | ||
472 | $! Tell The User We Can't Find The LIBRSAGLUE.OLB Library. | ||
473 | $! | ||
474 | $ WRITE SYS$OUTPUT "" | ||
475 | $ WRITE SYS$OUTPUT "Can't Find The Library ",RSAREF_LIB,"." | ||
476 | $ WRITE SYS$OUTPUT "We Can't Link Without It." | ||
477 | $ WRITE SYS$OUTPUT "" | ||
478 | $! | ||
479 | $! Since We Can't Link Without It, Exit. | ||
480 | $! | ||
481 | $ EXIT | ||
482 | $ ENDIF | ||
483 | $! | ||
484 | $! End The RSAREF Library Check. | ||
485 | $! | ||
486 | $ ENDIF | ||
487 | $! | ||
488 | $! Look For The Library LIBSSL.OLB. | 404 | $! Look For The Library LIBSSL.OLB. |
489 | $! | 405 | $! |
490 | $ IF (F$SEARCH(SSL_LIB).EQS."") | 406 | $ IF (F$SEARCH(SSL_LIB).EQS."") |
@@ -515,75 +431,10 @@ $ CHECK_OPTIONS: | |||
515 | $! | 431 | $! |
516 | $! Check To See If P1 Is Blank. | 432 | $! Check To See If P1 Is Blank. |
517 | $! | 433 | $! |
518 | $ P1 = "NORSAREF" | 434 | $ IF (P1.EQS."NODEBUG") |
519 | $ IF (P1.EQS."NORSAREF") | ||
520 | $ THEN | ||
521 | $! | ||
522 | $! P1 Is NORSAREF, So Compile With The Regular RSA Libraries. | ||
523 | $! | ||
524 | $ RSAREF = "FALSE" | ||
525 | $ ELSE | ||
526 | $! | ||
527 | $! Check To See If We Are To Use The RSAREF Library. | ||
528 | $! | ||
529 | $ IF (P1.EQS."RSAREF") | ||
530 | $ THEN | ||
531 | $! | ||
532 | $! Check To Make Sure We Have The RSAREF Source Code Directory. | ||
533 | $! | ||
534 | $ IF (F$SEARCH("SYS$DISK:[-.RSAREF]SOURCE.DIR").EQS."") | ||
535 | $ THEN | ||
536 | $! | ||
537 | $! We Don't Have The RSAREF Souce Code Directory, So Tell The | ||
538 | $! User This. | ||
539 | $! | ||
540 | $ WRITE SYS$OUTPUT "" | ||
541 | $ WRITE SYS$OUTPUT "It appears that you don't have the RSAREF Souce Code." | ||
542 | $ WRITE SYS$OUTPUT "You need to go to 'ftp://ftp.rsa.com/rsaref'. You have to" | ||
543 | $ WRITE SYS$OUTPUT "get the '.tar-Z' file as the '.zip' file dosen't have the" | ||
544 | $ WRITE SYS$OUTPUT "directory structure stored. You have to extract the file" | ||
545 | $ WRITE SYS$OUTPUT "into the [.RSAREF] directory under the root directory" | ||
546 | $ WRITE SYS$OUTPUT "as that is where the scripts will look for the files." | ||
547 | $ WRITE SYS$OUTPUT "" | ||
548 | $! | ||
549 | $! Time To Exit. | ||
550 | $! | ||
551 | $ EXIT | ||
552 | $! | ||
553 | $! Else, Compile Using The RSAREF Library. | ||
554 | $! | ||
555 | $ ELSE | ||
556 | $ RSAREF = "TRUE" | ||
557 | $ ENDIF | ||
558 | $ ELSE | ||
559 | $! | ||
560 | $! They Entered An Invalid Option.. | ||
561 | $! | ||
562 | $ WRITE SYS$OUTPUT "" | ||
563 | $ WRITE SYS$OUTPUT "The Option ",P1," Is Invalid. The Valid Options Are:" | ||
564 | $ WRITE SYS$OUTPUT "" | ||
565 | $ WRITE SYS$OUTPUT " RSAREF : Compile With The RSAREF Library." | ||
566 | $ WRITE SYS$OUTPUT " NORSAREF : Compile With The Regular RSA Library." | ||
567 | $ WRITE SYS$OUTPUT "" | ||
568 | $! | ||
569 | $! Time To EXIT. | ||
570 | $! | ||
571 | $ EXIT | ||
572 | $! | ||
573 | $! End The Valid Arguement Check. | ||
574 | $! | ||
575 | $ ENDIF | ||
576 | $! | ||
577 | $! End The P1 Check. | ||
578 | $! | ||
579 | $ ENDIF | ||
580 | $! | ||
581 | $! Check To See If P2 Is Blank. | ||
582 | $! | ||
583 | $ IF (P2.EQS."NODEBUG") | ||
584 | $ THEN | 435 | $ THEN |
585 | $! | 436 | $! |
586 | $! P2 Is NODEBUG, So Compile Without Debugger Information. | 437 | $! P1 Is NODEBUG, So Compile Without Debugger Information. |
587 | $! | 438 | $! |
588 | $ DEBUGGER = "NODEBUG" | 439 | $ DEBUGGER = "NODEBUG" |
589 | $ TRACEBACK = "NOTRACEBACK" | 440 | $ TRACEBACK = "NOTRACEBACK" |
@@ -598,7 +449,7 @@ $ ELSE | |||
598 | $! | 449 | $! |
599 | $! Check To See If We Are To Compile With Debugger Information. | 450 | $! Check To See If We Are To Compile With Debugger Information. |
600 | $! | 451 | $! |
601 | $ IF (P2.EQS."DEBUG") | 452 | $ IF (P1.EQS."DEBUG") |
602 | $ THEN | 453 | $ THEN |
603 | $! | 454 | $! |
604 | $! Compile With Debugger Information. | 455 | $! Compile With Debugger Information. |
@@ -617,7 +468,7 @@ $! | |||
617 | $! Tell The User Entered An Invalid Option.. | 468 | $! Tell The User Entered An Invalid Option.. |
618 | $! | 469 | $! |
619 | $ WRITE SYS$OUTPUT "" | 470 | $ WRITE SYS$OUTPUT "" |
620 | $ WRITE SYS$OUTPUT "The Option ",P2," Is Invalid. The Valid Options Are:" | 471 | $ WRITE SYS$OUTPUT "The Option ",P1," Is Invalid. The Valid Options Are:" |
621 | $ WRITE SYS$OUTPUT "" | 472 | $ WRITE SYS$OUTPUT "" |
622 | $ WRITE SYS$OUTPUT " DEBUG : Compile With The Debugger Information." | 473 | $ WRITE SYS$OUTPUT " DEBUG : Compile With The Debugger Information." |
623 | $ WRITE SYS$OUTPUT " NODEBUG : Compile Without The Debugger Information." | 474 | $ WRITE SYS$OUTPUT " NODEBUG : Compile Without The Debugger Information." |
@@ -631,13 +482,13 @@ $! End The Valid Arguement Check. | |||
631 | $! | 482 | $! |
632 | $ ENDIF | 483 | $ ENDIF |
633 | $! | 484 | $! |
634 | $! End The P3 Check. | 485 | $! End The P2 Check. |
635 | $! | 486 | $! |
636 | $ ENDIF | 487 | $ ENDIF |
637 | $! | 488 | $! |
638 | $! Check To See If P3 Is Blank. | 489 | $! Check To See If P2 Is Blank. |
639 | $! | 490 | $! |
640 | $ IF (P3.EQS."") | 491 | $ IF (P2.EQS."") |
641 | $ THEN | 492 | $ THEN |
642 | $! | 493 | $! |
643 | $! O.K., The User Didn't Specify A Compiler, Let's Try To | 494 | $! O.K., The User Didn't Specify A Compiler, Let's Try To |
@@ -650,7 +501,7 @@ $ THEN | |||
650 | $! | 501 | $! |
651 | $! Looks Like GNUC, Set To Use GNUC. | 502 | $! Looks Like GNUC, Set To Use GNUC. |
652 | $! | 503 | $! |
653 | $ P3 = "GNUC" | 504 | $ P2 = "GNUC" |
654 | $! | 505 | $! |
655 | $! End The GNU C Compiler Check. | 506 | $! End The GNU C Compiler Check. |
656 | $! | 507 | $! |
@@ -663,7 +514,7 @@ $ THEN | |||
663 | $! | 514 | $! |
664 | $! Looks Like DECC, Set To Use DECC. | 515 | $! Looks Like DECC, Set To Use DECC. |
665 | $! | 516 | $! |
666 | $ P3 = "DECC" | 517 | $ P2 = "DECC" |
667 | $! | 518 | $! |
668 | $! Else... | 519 | $! Else... |
669 | $! | 520 | $! |
@@ -671,7 +522,7 @@ $ ELSE | |||
671 | $! | 522 | $! |
672 | $! Looks Like VAXC, Set To Use VAXC. | 523 | $! Looks Like VAXC, Set To Use VAXC. |
673 | $! | 524 | $! |
674 | $ P3 = "VAXC" | 525 | $ P2 = "VAXC" |
675 | $! | 526 | $! |
676 | $! End The VAXC Compiler Check. | 527 | $! End The VAXC Compiler Check. |
677 | $! | 528 | $! |
@@ -685,9 +536,9 @@ $! End The Compiler Check. | |||
685 | $! | 536 | $! |
686 | $ ENDIF | 537 | $ ENDIF |
687 | $! | 538 | $! |
688 | $! Check To See If We Have A Option For P4. | 539 | $! Check To See If We Have A Option For P3. |
689 | $! | 540 | $! |
690 | $ IF (P4.EQS."") | 541 | $ IF (P3.EQS."") |
691 | $ THEN | 542 | $ THEN |
692 | $! | 543 | $! |
693 | $! Find out what socket library we have available | 544 | $! Find out what socket library we have available |
@@ -697,7 +548,7 @@ $ THEN | |||
697 | $! | 548 | $! |
698 | $! We have SOCKETSHR, and it is my opinion that it's the best to use. | 549 | $! We have SOCKETSHR, and it is my opinion that it's the best to use. |
699 | $! | 550 | $! |
700 | $ P4 = "SOCKETSHR" | 551 | $ P3 = "SOCKETSHR" |
701 | $! | 552 | $! |
702 | $! Tell the user | 553 | $! Tell the user |
703 | $! | 554 | $! |
@@ -717,7 +568,7 @@ $ THEN | |||
717 | $! | 568 | $! |
718 | $! Last resort: a UCX or UCX-compatible library | 569 | $! Last resort: a UCX or UCX-compatible library |
719 | $! | 570 | $! |
720 | $ P4 = "UCX" | 571 | $ P3 = "UCX" |
721 | $! | 572 | $! |
722 | $! Tell the user | 573 | $! Tell the user |
723 | $! | 574 | $! |
@@ -731,7 +582,7 @@ $ ENDIF | |||
731 | $! | 582 | $! |
732 | $! Set Up Initial CC Definitions, Possibly With User Ones | 583 | $! Set Up Initial CC Definitions, Possibly With User Ones |
733 | $! | 584 | $! |
734 | $ CCDEFS = "TCPIP_TYPE_''P4'" | 585 | $ CCDEFS = "TCPIP_TYPE_''P3'" |
735 | $ IF F$TYPE(USER_CCDEFS) .NES. "" THEN CCDEFS = CCDEFS + "," + USER_CCDEFS | 586 | $ IF F$TYPE(USER_CCDEFS) .NES. "" THEN CCDEFS = CCDEFS + "," + USER_CCDEFS |
736 | $ CCEXTRAFLAGS = "" | 587 | $ CCEXTRAFLAGS = "" |
737 | $ IF F$TYPE(USER_CCFLAGS) .NES. "" THEN CCEXTRAFLAGS = USER_CCFLAGS | 588 | $ IF F$TYPE(USER_CCFLAGS) .NES. "" THEN CCEXTRAFLAGS = USER_CCFLAGS |
@@ -741,12 +592,12 @@ $ IF F$TYPE(USER_CCDISABLEWARNINGS) .NES. "" THEN - | |||
741 | $! | 592 | $! |
742 | $! Check To See If The User Entered A Valid Paramter. | 593 | $! Check To See If The User Entered A Valid Paramter. |
743 | $! | 594 | $! |
744 | $ IF (P3.EQS."VAXC").OR.(P3.EQS."DECC").OR.(P3.EQS."GNUC") | 595 | $ IF (P2.EQS."VAXC").OR.(P2.EQS."DECC").OR.(P2.EQS."GNUC") |
745 | $ THEN | 596 | $ THEN |
746 | $! | 597 | $! |
747 | $! Check To See If The User Wanted DECC. | 598 | $! Check To See If The User Wanted DECC. |
748 | $! | 599 | $! |
749 | $ IF (P3.EQS."DECC") | 600 | $ IF (P2.EQS."DECC") |
750 | $ THEN | 601 | $ THEN |
751 | $! | 602 | $! |
752 | $! Looks Like DECC, Set To Use DECC. | 603 | $! Looks Like DECC, Set To Use DECC. |
@@ -776,7 +627,7 @@ $ ENDIF | |||
776 | $! | 627 | $! |
777 | $! Check To See If We Are To Use VAXC. | 628 | $! Check To See If We Are To Use VAXC. |
778 | $! | 629 | $! |
779 | $ IF (P3.EQS."VAXC") | 630 | $ IF (P2.EQS."VAXC") |
780 | $ THEN | 631 | $ THEN |
781 | $! | 632 | $! |
782 | $! Looks Like VAXC, Set To Use VAXC. | 633 | $! Looks Like VAXC, Set To Use VAXC. |
@@ -814,7 +665,7 @@ $ ENDIF | |||
814 | $! | 665 | $! |
815 | $! Check To See If We Are To Use GNU C. | 666 | $! Check To See If We Are To Use GNU C. |
816 | $! | 667 | $! |
817 | $ IF (P3.EQS."GNUC") | 668 | $ IF (P2.EQS."GNUC") |
818 | $ THEN | 669 | $ THEN |
819 | $! | 670 | $! |
820 | $! Looks Like GNUC, Set To Use GNUC. | 671 | $! Looks Like GNUC, Set To Use GNUC. |
@@ -842,31 +693,6 @@ $! Set up default defines | |||
842 | $! | 693 | $! |
843 | $ CCDEFS = """FLAT_INC=1""," + CCDEFS | 694 | $ CCDEFS = """FLAT_INC=1""," + CCDEFS |
844 | $! | 695 | $! |
845 | $! Check To See If We Are To Compile With RSAREF Routines. | ||
846 | $! | ||
847 | $ IF (RSAREF.EQS."TRUE") | ||
848 | $ THEN | ||
849 | $! | ||
850 | $! Compile With RSAREF. | ||
851 | $! | ||
852 | $ CCDEFS = CCDEFS + ",""RSAref=1""" | ||
853 | $! | ||
854 | $! Tell The User This. | ||
855 | $! | ||
856 | $ WRITE SYS$OUTPUT "Compiling With RSAREF Routines." | ||
857 | $! | ||
858 | $! Else, We Don't Care. Compile Without The RSAREF Library. | ||
859 | $! | ||
860 | $ ELSE | ||
861 | $! | ||
862 | $! Tell The User We Are Compile Without The RSAREF Routines. | ||
863 | $! | ||
864 | $ WRITE SYS$OUTPUT "Compiling Without The RSAREF Routines. | ||
865 | $! | ||
866 | $! End The RSAREF Check. | ||
867 | $! | ||
868 | $ ENDIF | ||
869 | $! | ||
870 | $! Finish up the definition of CC. | 696 | $! Finish up the definition of CC. |
871 | $! | 697 | $! |
872 | $ IF COMPILER .EQS. "DECC" | 698 | $ IF COMPILER .EQS. "DECC" |
@@ -896,7 +722,7 @@ $! | |||
896 | $! Tell The User We Don't Know What They Want. | 722 | $! Tell The User We Don't Know What They Want. |
897 | $! | 723 | $! |
898 | $ WRITE SYS$OUTPUT "" | 724 | $ WRITE SYS$OUTPUT "" |
899 | $ WRITE SYS$OUTPUT "The Option ",P3," Is Invalid. The Valid Options Are:" | 725 | $ WRITE SYS$OUTPUT "The Option ",P2," Is Invalid. The Valid Options Are:" |
900 | $ WRITE SYS$OUTPUT "" | 726 | $ WRITE SYS$OUTPUT "" |
901 | $ WRITE SYS$OUTPUT " VAXC : To Compile With VAX C." | 727 | $ WRITE SYS$OUTPUT " VAXC : To Compile With VAX C." |
902 | $ WRITE SYS$OUTPUT " DECC : To Compile With DEC C." | 728 | $ WRITE SYS$OUTPUT " DECC : To Compile With DEC C." |
@@ -910,13 +736,13 @@ $ ENDIF | |||
910 | $! | 736 | $! |
911 | $! Time to check the contents, and to make sure we get the correct library. | 737 | $! Time to check the contents, and to make sure we get the correct library. |
912 | $! | 738 | $! |
913 | $ IF P4.EQS."SOCKETSHR" .OR. P4.EQS."MULTINET" .OR. P4.EQS."UCX" - | 739 | $ IF P3.EQS."SOCKETSHR" .OR. P3.EQS."MULTINET" .OR. P3.EQS."UCX" - |
914 | .OR. P4.EQS."TCPIP" .OR. P4.EQS."NONE" | 740 | .OR. P3.EQS."TCPIP" .OR. P3.EQS."NONE" |
915 | $ THEN | 741 | $ THEN |
916 | $! | 742 | $! |
917 | $! Check to see if SOCKETSHR was chosen | 743 | $! Check to see if SOCKETSHR was chosen |
918 | $! | 744 | $! |
919 | $ IF P4.EQS."SOCKETSHR" | 745 | $ IF P3.EQS."SOCKETSHR" |
920 | $ THEN | 746 | $ THEN |
921 | $! | 747 | $! |
922 | $! Set the library to use SOCKETSHR | 748 | $! Set the library to use SOCKETSHR |
@@ -929,12 +755,12 @@ $ ENDIF | |||
929 | $! | 755 | $! |
930 | $! Check to see if MULTINET was chosen | 756 | $! Check to see if MULTINET was chosen |
931 | $! | 757 | $! |
932 | $ IF P4.EQS."MULTINET" | 758 | $ IF P3.EQS."MULTINET" |
933 | $ THEN | 759 | $ THEN |
934 | $! | 760 | $! |
935 | $! Set the library to use UXC emulation. | 761 | $! Set the library to use UXC emulation. |
936 | $! | 762 | $! |
937 | $ P4 = "UCX" | 763 | $ P3 = "UCX" |
938 | $! | 764 | $! |
939 | $! Done with MULTINET | 765 | $! Done with MULTINET |
940 | $! | 766 | $! |
@@ -942,7 +768,7 @@ $ ENDIF | |||
942 | $! | 768 | $! |
943 | $! Check to see if UCX was chosen | 769 | $! Check to see if UCX was chosen |
944 | $! | 770 | $! |
945 | $ IF P4.EQS."UCX" | 771 | $ IF P3.EQS."UCX" |
946 | $ THEN | 772 | $ THEN |
947 | $! | 773 | $! |
948 | $! Set the library to use UCX. | 774 | $! Set the library to use UCX. |
@@ -962,7 +788,7 @@ $ ENDIF | |||
962 | $! | 788 | $! |
963 | $! Check to see if TCPIP was chosen | 789 | $! Check to see if TCPIP was chosen |
964 | $! | 790 | $! |
965 | $ IF P4.EQS."TCPIP" | 791 | $ IF P3.EQS."TCPIP" |
966 | $ THEN | 792 | $ THEN |
967 | $! | 793 | $! |
968 | $! Set the library to use TCPIP (post UCX). | 794 | $! Set the library to use TCPIP (post UCX). |
@@ -975,7 +801,7 @@ $ ENDIF | |||
975 | $! | 801 | $! |
976 | $! Check to see if NONE was chosen | 802 | $! Check to see if NONE was chosen |
977 | $! | 803 | $! |
978 | $ IF P4.EQS."NONE" | 804 | $ IF P3.EQS."NONE" |
979 | $ THEN | 805 | $ THEN |
980 | $! | 806 | $! |
981 | $! Do not use a TCPIP library. | 807 | $! Do not use a TCPIP library. |
@@ -997,7 +823,7 @@ $! | |||
997 | $! Tell The User We Don't Know What They Want. | 823 | $! Tell The User We Don't Know What They Want. |
998 | $! | 824 | $! |
999 | $ WRITE SYS$OUTPUT "" | 825 | $ WRITE SYS$OUTPUT "" |
1000 | $ WRITE SYS$OUTPUT "The Option ",P4," Is Invalid. The Valid Options Are:" | 826 | $ WRITE SYS$OUTPUT "The Option ",P3," Is Invalid. The Valid Options Are:" |
1001 | $ WRITE SYS$OUTPUT "" | 827 | $ WRITE SYS$OUTPUT "" |
1002 | $ WRITE SYS$OUTPUT " SOCKETSHR : To link with SOCKETSHR TCP/IP library." | 828 | $ WRITE SYS$OUTPUT " SOCKETSHR : To link with SOCKETSHR TCP/IP library." |
1003 | $ WRITE SYS$OUTPUT " UCX : To link with UCX TCP/IP library." | 829 | $ WRITE SYS$OUTPUT " UCX : To link with UCX TCP/IP library." |
@@ -1018,9 +844,9 @@ $! Written By: Richard Levitte | |||
1018 | $! richard@levitte.org | 844 | $! richard@levitte.org |
1019 | $! | 845 | $! |
1020 | $! | 846 | $! |
1021 | $! Check To See If We Have A Option For P5. | 847 | $! Check To See If We Have A Option For P4. |
1022 | $! | 848 | $! |
1023 | $ IF (P5.EQS."") | 849 | $ IF (P4.EQS."") |
1024 | $ THEN | 850 | $ THEN |
1025 | $! | 851 | $! |
1026 | $! Get The Version Of VMS We Are Using. | 852 | $! Get The Version Of VMS We Are Using. |
@@ -1042,7 +868,7 @@ $! End The VMS Version Check. | |||
1042 | $! | 868 | $! |
1043 | $ ENDIF | 869 | $ ENDIF |
1044 | $! | 870 | $! |
1045 | $! End The P5 Check. | 871 | $! End The P4 Check. |
1046 | $! | 872 | $! |
1047 | $ ENDIF | 873 | $ ENDIF |
1048 | $! | 874 | $! |
diff --git a/src/lib/libssl/test/methtest.c b/src/lib/libssl/test/methtest.c index 06ccb3b310..005c2f4822 100644 --- a/src/lib/libssl/test/methtest.c +++ b/src/lib/libssl/test/methtest.c | |||
@@ -96,10 +96,10 @@ char *argv[]; | |||
96 | METH_init(top); | 96 | METH_init(top); |
97 | METH_control(tmp1,METH_CONTROL_DUMP,stdout); | 97 | METH_control(tmp1,METH_CONTROL_DUMP,stdout); |
98 | METH_control(tmp2,METH_CONTROL_DUMP,stdout); | 98 | METH_control(tmp2,METH_CONTROL_DUMP,stdout); |
99 | exit(0); | 99 | EXIT(0); |
100 | err: | 100 | err: |
101 | ERR_load_crypto_strings(); | 101 | ERR_load_crypto_strings(); |
102 | ERR_print_errors_fp(stderr); | 102 | ERR_print_errors_fp(stderr); |
103 | exit(1); | 103 | EXIT(1); |
104 | return(0); | 104 | return(0); |
105 | } | 105 | } |
diff --git a/src/lib/libssl/test/testgen b/src/lib/libssl/test/testgen index 55c496f4bc..3798543e04 100644 --- a/src/lib/libssl/test/testgen +++ b/src/lib/libssl/test/testgen | |||
@@ -27,6 +27,8 @@ fi | |||
27 | 27 | ||
28 | echo "This could take some time." | 28 | echo "This could take some time." |
29 | 29 | ||
30 | rm -f testkey.pem testreq.pem | ||
31 | |||
30 | ../apps/openssl req -config test.cnf $req_new -out testreq.pem | 32 | ../apps/openssl req -config test.cnf $req_new -out testreq.pem |
31 | if [ $? != 0 ]; then | 33 | if [ $? != 0 ]; then |
32 | echo problems creating request | 34 | echo problems creating request |
diff --git a/src/lib/libssl/test/testssl b/src/lib/libssl/test/testssl index ba5e41c861..ca8e718022 100644 --- a/src/lib/libssl/test/testssl +++ b/src/lib/libssl/test/testssl | |||
@@ -121,8 +121,12 @@ $ssltest -bio_pair -server_auth -client_auth -app_verify $CA $extra || exit 1 | |||
121 | 121 | ||
122 | ############################################################################# | 122 | ############################################################################# |
123 | 123 | ||
124 | echo test tls1 with 1024bit anonymous DH, multiple handshakes | 124 | if ../apps/openssl no-dh; then |
125 | $ssltest -v -bio_pair -tls1 -cipher ADH -dhe1024dsa -num 10 -f -time $extra || exit 1 | 125 | echo skipping anonymous DH tests |
126 | else | ||
127 | echo test tls1 with 1024bit anonymous DH, multiple handshakes | ||
128 | $ssltest -v -bio_pair -tls1 -cipher ADH -dhe1024dsa -num 10 -f -time $extra || exit 1 | ||
129 | fi | ||
126 | 130 | ||
127 | if ../apps/openssl no-rsa; then | 131 | if ../apps/openssl no-rsa; then |
128 | echo skipping RSA tests | 132 | echo skipping RSA tests |
@@ -130,8 +134,12 @@ else | |||
130 | echo test tls1 with 1024bit RSA, no DHE, multiple handshakes | 134 | echo test tls1 with 1024bit RSA, no DHE, multiple handshakes |
131 | ./ssltest -v -bio_pair -tls1 -cert ../apps/server2.pem -no_dhe -num 10 -f -time $extra || exit 1 | 135 | ./ssltest -v -bio_pair -tls1 -cert ../apps/server2.pem -no_dhe -num 10 -f -time $extra || exit 1 |
132 | 136 | ||
133 | echo test tls1 with 1024bit RSA, 1024bit DHE, multiple handshakes | 137 | if ../apps/openssl no-dh; then |
134 | ./ssltest -v -bio_pair -tls1 -cert ../apps/server2.pem -dhe1024dsa -num 10 -f -time $extra || exit 1 | 138 | echo skipping RSA+DHE tests |
139 | else | ||
140 | echo test tls1 with 1024bit RSA, 1024bit DHE, multiple handshakes | ||
141 | ./ssltest -v -bio_pair -tls1 -cert ../apps/server2.pem -dhe1024dsa -num 10 -f -time $extra || exit 1 | ||
142 | fi | ||
135 | fi | 143 | fi |
136 | 144 | ||
137 | exit 0 | 145 | exit 0 |
diff --git a/src/lib/libssl/test/testssl.com b/src/lib/libssl/test/testssl.com index 785f262f5a..26308f7715 100644 --- a/src/lib/libssl/test/testssl.com +++ b/src/lib/libssl/test/testssl.com | |||
@@ -159,16 +159,25 @@ $ if $severity .ne. 1 then goto exit3 | |||
159 | $ | 159 | $ |
160 | $!########################################################################### | 160 | $!########################################################################### |
161 | $ | 161 | $ |
162 | $ write sys$output "test tls1 with 1024bit anonymous DH, multiple handshakes" | ||
163 | $ 'ssltest' -v -bio_pair -tls1 -cipher "ADH" -dhe1024dsa -num 10 -f -time | ||
164 | $ if $severity .ne. 1 then goto exit3 | ||
165 | $ | ||
166 | $ set noon | 162 | $ set noon |
167 | $ define/user sys$output nla0: | 163 | $ define/user sys$output nla0: |
168 | $ mcr 'exe_dir'openssl no-rsa | 164 | $ mcr 'exe_dir'openssl no-rsa |
169 | $ save_severity=$SEVERITY | 165 | $ no_rsa=$SEVERITY |
166 | $ define/user sys$output nla0: | ||
167 | $ mcr 'exe_dir'openssl no-dh | ||
168 | $ no_dh=$SEVERITY | ||
170 | $ set on | 169 | $ set on |
171 | $ if save_severity | 170 | $ |
171 | $ if no_dh | ||
172 | $ then | ||
173 | $ write sys$output "skipping anonymous DH tests" | ||
174 | $ else | ||
175 | $ write sys$output "test tls1 with 1024bit anonymous DH, multiple handshakes" | ||
176 | $ 'ssltest' -v -bio_pair -tls1 -cipher "ADH" -dhe1024dsa -num 10 -f -time | ||
177 | $ if $severity .ne. 1 then goto exit3 | ||
178 | $ endif | ||
179 | $ | ||
180 | $ if no_rsa | ||
172 | $ then | 181 | $ then |
173 | $ write sys$output "skipping RSA tests" | 182 | $ write sys$output "skipping RSA tests" |
174 | $ else | 183 | $ else |
@@ -176,9 +185,14 @@ $ write sys$output "test tls1 with 1024bit RSA, no DHE, multiple handshakes" | |||
176 | $ mcr 'texe_dir'ssltest -v -bio_pair -tls1 -cert [-.apps]server2.pem -no_dhe -num 10 -f -time | 185 | $ mcr 'texe_dir'ssltest -v -bio_pair -tls1 -cert [-.apps]server2.pem -no_dhe -num 10 -f -time |
177 | $ if $severity .ne. 1 then goto exit3 | 186 | $ if $severity .ne. 1 then goto exit3 |
178 | $ | 187 | $ |
179 | $ write sys$output "test tls1 with 1024bit RSA, 1024bit DHE, multiple handshakes" | 188 | $ if no_dh |
180 | $ mcr 'texe_dir'ssltest -v -bio_pair -tls1 -cert [-.apps]server2.pem -dhe1024dsa -num 10 -f -time | 189 | $ then |
181 | $ if $severity .ne. 1 then goto exit3 | 190 | $ write sys$output "skipping RSA+DHE tests" |
191 | $ else | ||
192 | $ write sys$output "test tls1 with 1024bit RSA, 1024bit DHE, multiple handshakes" | ||
193 | $ mcr 'texe_dir'ssltest -v -bio_pair -tls1 -cert [-.apps]server2.pem -dhe1024dsa -num 10 -f -time | ||
194 | $ if $severity .ne. 1 then goto exit3 | ||
195 | $ endif | ||
182 | $ endif | 196 | $ endif |
183 | $ | 197 | $ |
184 | $ RET = 1 | 198 | $ RET = 1 |