~ubuntu-branches/ubuntu/oneiric/openssl/oneiric-updates

« back to all changes in this revision

Viewing changes to test/testssl.com

  • Committer: Package Import Robot
  • Author(s): Steve Beattie
  • Date: 2011-09-14 22:06:03 UTC
  • mfrom: (11.1.23 sid)
  • Revision ID: package-import@ubuntu.com-20110914220603-tsuxw8z3kt4lx9oc
Tags: 1.0.0e-2ubuntu1
* Resynchronise with Debian, fixes CVE-2011-1945, CVE-2011-3207 and
  CVE-2011-3210 (LP: #850608). Remaining changes:
  - debian/libssl1.0.0.postinst:
    + Display a system restart required notification bubble on libssl1.0.0
      upgrade.
    + Use a different priority for libssl1.0.0/restart-services depending
      on whether a desktop, or server dist-upgrade is being performed.
  - debian/{libssl1.0.0-udeb.dirs, control, rules}: Create
    libssl1.0.0-udeb, for the benefit of wget-udeb (no wget-udeb package
    in Debian).
  - debian/{libcrypto1.0.0-udeb.dirs, libssl1.0.0.dirs, libssl1.0.0.files,
    rules}: Move runtime libraries to /lib, for the benefit of
    wpasupplicant.
  - debian/patches/aesni.patch: Backport Intel AES-NI support, now from
    http://rt.openssl.org/Ticket/Display.html?id=2065 rather than the
    0.9.8 variant.
  - debian/patches/Bsymbolic-functions.patch: Link using
    -Bsymbolic-functions.
  - debian/patches/perlpath-quilt.patch: Don't change perl #! paths under
    .pc.
  - debian/rules:
    + Don't run 'make test' when cross-building.
    + Use host compiler when cross-building.  Patch from Neil Williams.
    + Don't build for processors no longer supported: i486, i586 (on
      i386), v8 (on sparc).
    + Fix Makefile to properly clean up libs/ dirs in clean target.
    + Replace duplicate files in the doc directory with symlinks.
* debian/libssl1.0.0.postinst: only display restart notification on
  servers (LP: #244250)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
$! TESTSSL.COM
2
2
$
3
 
$       __arch := VAX
 
3
$       __arch = "VAX"
4
4
$       if f$getsyi("cpu") .ge. 128 then -
5
5
           __arch = f$edit( f$getsyi( "ARCH_NAME"), "UPCASE")
6
 
$       if __arch .eqs. "" then __arch := UNK
7
 
$       texe_dir := sys$disk:[-.'__arch'.exe.test]
8
 
$       exe_dir := sys$disk:[-.'__arch'.exe.apps]
 
6
$       if __arch .eqs. "" then __arch = "UNK"
 
7
$!
 
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
13
$       if p1 .eqs. ""
11
14
$       then
19
22
$       else
20
23
$           cert=p2
21
24
$       endif
22
 
$       ssltest := mcr 'texe_dir'ssltest -key 'key' -cert 'cert' -c_key 'key' -c_cert 'cert'
23
 
$
 
25
$       ssltest = "mcr ''texe_dir'ssltest -key ''key'"+ -
 
26
         " -cert ''cert' -c_key ''key' -c_cert ''cert'"
 
27
$!
24
28
$       set noon
25
29
$       define/user sys$output testssl-x509-output.
26
30
$       define/user sys$error nla0:
29
33
$       search/output=nla0: testssl-x509-output. "DSA Public Key"/exact
30
34
$       if $severity .eq. 1
31
35
$       then
32
 
$           dsa_cert := YES
 
36
$           dsa_cert = "YES"
33
37
$       else
34
 
$           dsa_cert := NO
 
38
$           dsa_cert = "NO"
35
39
$       endif
36
40
$       delete testssl-x509-output.;*
37
41
$