diff options
author | djm <> | 2011-11-03 02:34:33 +0000 |
---|---|---|
committer | djm <> | 2011-11-03 02:34:33 +0000 |
commit | fc7396568e61a510b9336d6c220aaa889c03060f (patch) | |
tree | a8fc08e33aecdd21cb07aa47c8a3a9db715f2ef3 /src/lib/libssl/test/testssl.com | |
parent | 1e8701dd2507fadf6d232d93eb4299a8b79c66d5 (diff) | |
download | openbsd-fc7396568e61a510b9336d6c220aaa889c03060f.tar.gz openbsd-fc7396568e61a510b9336d6c220aaa889c03060f.tar.bz2 openbsd-fc7396568e61a510b9336d6c220aaa889c03060f.zip |
openssl-1.0.0e: resolve conflicts
Diffstat (limited to 'src/lib/libssl/test/testssl.com')
-rw-r--r-- | src/lib/libssl/test/testssl.com | 26 |
1 files changed, 14 insertions, 12 deletions
diff --git a/src/lib/libssl/test/testssl.com b/src/lib/libssl/test/testssl.com index 9c83afba04..f19edc4719 100644 --- a/src/lib/libssl/test/testssl.com +++ b/src/lib/libssl/test/testssl.com | |||
@@ -1,11 +1,14 @@ | |||
1 | $! TESTSSL.COM | 1 | $! TESTSSL.COM |
2 | $ | 2 | $ |
3 | $ __arch := VAX | 3 | $ __arch = "VAX" |
4 | $ if f$getsyi("cpu") .ge. 128 then - | 4 | $ if f$getsyi("cpu") .ge. 128 then - |
5 | __arch = f$edit( f$getsyi( "ARCH_NAME"), "UPCASE") | 5 | __arch = f$edit( f$getsyi( "ARCH_NAME"), "UPCASE") |
6 | $ if __arch .eqs. "" then __arch := UNK | 6 | $ if __arch .eqs. "" then __arch = "UNK" |
7 | $ texe_dir := sys$disk:[-.'__arch'.exe.test] | 7 | $! |
8 | $ exe_dir := sys$disk:[-.'__arch'.exe.apps] | 8 | $ if (p4 .eqs. "64") then __arch = __arch+ "_64" |
9 | $! | ||
10 | $ texe_dir = "sys$disk:[-.''__arch'.exe.test]" | ||
11 | $ exe_dir = "sys$disk:[-.''__arch'.exe.apps]" | ||
9 | $ | 12 | $ |
10 | $ if p1 .eqs. "" | 13 | $ if p1 .eqs. "" |
11 | $ then | 14 | $ then |
@@ -19,21 +22,21 @@ $ cert="[-.apps]server.pem" | |||
19 | $ else | 22 | $ else |
20 | $ cert=p2 | 23 | $ cert=p2 |
21 | $ endif | 24 | $ endif |
22 | $ ssltest := mcr 'texe_dir'ssltest -key 'key' -cert 'cert' -c_key 'key' -c_cert 'cert' | 25 | $ ssltest = "mcr ''texe_dir'ssltest -key ''key'"+ - |
23 | $ | 26 | " -cert ''cert' -c_key ''key' -c_cert ''cert'" |
27 | $! | ||
28 | $ set noon | ||
24 | $ define/user sys$output testssl-x509-output. | 29 | $ define/user sys$output testssl-x509-output. |
25 | $ define/user sys$error nla0: | 30 | $ define/user sys$error nla0: |
26 | $ mcr 'exe_dir'openssl x509 -in 'cert' -text -noout | 31 | $ mcr 'exe_dir'openssl x509 -in 'cert' -text -noout |
27 | $ set noon | ||
28 | $ define/user sys$error nla0: | 32 | $ define/user sys$error nla0: |
29 | $ search/output=nla0: testssl-x509-output. "DSA Public Key"/exact | 33 | $ search/output=nla0: testssl-x509-output. "DSA Public Key"/exact |
30 | $ if $severity .eq. 1 | 34 | $ if $severity .eq. 1 |
31 | $ then | 35 | $ then |
32 | $ dsa_cert := YES | 36 | $ dsa_cert = "YES" |
33 | $ else | 37 | $ else |
34 | $ dsa_cert := NO | 38 | $ dsa_cert = "NO" |
35 | $ endif | 39 | $ endif |
36 | $ set on | ||
37 | $ delete testssl-x509-output.;* | 40 | $ delete testssl-x509-output.;* |
38 | $ | 41 | $ |
39 | $ if p3 .eqs. "" | 42 | $ if p3 .eqs. "" |
@@ -161,14 +164,12 @@ $ if $severity .ne. 1 then goto exit3 | |||
161 | $ | 164 | $ |
162 | $!########################################################################### | 165 | $!########################################################################### |
163 | $ | 166 | $ |
164 | $ set noon | ||
165 | $ define/user sys$output nla0: | 167 | $ define/user sys$output nla0: |
166 | $ mcr 'exe_dir'openssl no-rsa | 168 | $ mcr 'exe_dir'openssl no-rsa |
167 | $ no_rsa=$SEVERITY | 169 | $ no_rsa=$SEVERITY |
168 | $ define/user sys$output nla0: | 170 | $ define/user sys$output nla0: |
169 | $ mcr 'exe_dir'openssl no-dh | 171 | $ mcr 'exe_dir'openssl no-dh |
170 | $ no_dh=$SEVERITY | 172 | $ no_dh=$SEVERITY |
171 | $ set on | ||
172 | $ | 173 | $ |
173 | $ if no_dh | 174 | $ if no_dh |
174 | $ then | 175 | $ then |
@@ -203,4 +204,5 @@ $ exit3: | |||
203 | $ RET = 3 | 204 | $ RET = 3 |
204 | $ exit: | 205 | $ exit: |
205 | $ if p3 .eqs. "" then delete certs.tmp;* | 206 | $ if p3 .eqs. "" then delete certs.tmp;* |
207 | $ set on | ||
206 | $ exit 'RET' | 208 | $ exit 'RET' |