From 7d7d2cbcb02206f3393681f2bce198e11e2e185b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ulf=20M=C3=B6ller?= Date: Thu, 13 May 1999 11:37:32 +0000 Subject: [PATCH] VMS support. Submitted by: Richard Levitte --- CHANGES | 3 + INSTALL | 3 +- INSTALL.VMS | 204 ++ Makefile.org | 4 +- README | 3 +- apps/CA.com | 200 ++ apps/Makefile.ssl | 2 +- apps/apps.c | 22 + apps/ca.c | 54 +- apps/eay.c | 2 +- apps/install.com | 69 + apps/makeapps.com | 1137 +++++++ apps/openssl-vms.cnf | 190 ++ apps/openssl.c | 2 + apps/req.c | 2 + apps/s_apps.h | 24 + apps/s_client.c | 23 +- apps/s_server.c | 26 +- apps/s_socket.c | 37 +- apps/s_time.c | 30 +- apps/speed.c | 19 +- crypto/Makefile.ssl | 2 +- crypto/asn1/a_utctm.c | 42 + crypto/bf/bf_opts.c | 19 +- crypto/bf/bfspeed.c | 19 +- crypto/bio/b_sock.c | 12 +- crypto/bio/bss_acpt.c | 5 + crypto/bio/bss_conn.c | 6 + crypto/bio/bss_rtcp.c | 21 +- crypto/bn/asm/vms.mar | 6695 +++++++++++++++++++++++++++++++++++++++ crypto/bn/bn.h | 4 + crypto/bn/bn_lcl.h | 16 +- crypto/bn/bn_lib.c | 16 +- crypto/bn/bnspeed.c | 19 +- crypto/bn/expspeed.c | 19 +- crypto/bn/vms-helper.c | 66 + crypto/cast/cast_lcl.h | 19 +- crypto/cast/cast_s.h | 16 +- crypto/cast/cast_spd.c | 19 +- crypto/cast/castopts.c | 19 +- crypto/conf/conf.c | 4 + crypto/cryptlib.h | 7 + crypto/crypto-lib.com | 1218 +++++++ crypto/crypto.h | 2 +- crypto/des/des-lib.com | 1001 ++++++ crypto/des/des.c | 12 + crypto/des/des.h | 12 +- crypto/des/des_locl.h | 15 +- crypto/des/des_opts.c | 20 +- crypto/des/des_ver.h | 4 +- crypto/des/destest.c | 2 + crypto/des/ecb_enc.c | 4 +- crypto/des/enc_read.c | 2 +- crypto/des/read_pwd.c | 19 +- crypto/des/set_key.c | 2 +- crypto/des/speed.c | 19 +- crypto/des/spr.h | 2 +- crypto/des/str2key.c | 2 +- crypto/des/vms.com | 90 - crypto/idea/idea_spd.c | 19 +- crypto/install.com | 128 + crypto/libvms.com | 31 - crypto/opensslconf.h.in | 2 + crypto/pem/pem.h | 10 + crypto/rand/randfile.c | 15 +- crypto/rc2/rc2speed.c | 19 +- crypto/rc4/rc4speed.c | 19 +- crypto/rc5/rc5speed.c | 19 +- crypto/tmdiff.c | 36 +- crypto/x509/x509.h | 5 + crypto/x509/x509_vfy.h | 15 + e_os.h | 92 +- install.com | 88 + makevms.com | 937 +++++- rsaref/Makefile.ssl | 2 +- rsaref/install.com | 69 + rsaref/rsaref-lib.com | 901 ++++++ ssl/Makefile.ssl | 2 +- ssl/install.com | 102 + ssl/s2_lib.c | 2 +- ssl/s3_lib.c | 3 +- ssl/ssl-lib.com | 1199 +++++++ ssl/ssl.c | 2 +- ssl/ssl.h | 21 +- ssl/ssl_cert.c | 4 + ssl/ssl_lib.c | 2 +- ssl/ssl_locl.h | 11 +- ssl/ssl_task.c | 10 +- ssl/ssltest.c | 9 +- test/Makefile.ssl | 5 +- test/VMSca-response.1 | 1 + test/VMSca-response.2 | 2 + test/maketests.com | 1053 ++++++ test/tcrl.com | 78 + test/testca.com | 76 + test/testenc.com | 50 + test/testgen.com | 33 + test/tests.com | 203 ++ test/testss.com | 104 + test/testssl.com | 63 + test/tpkcs7.com | 49 + test/tpkcs7d.com | 42 + test/treq.com | 78 + test/trsa.com | 78 + test/tsid.com | 78 + test/tverify.com | 26 + test/tx509.com | 78 + 107 files changed, 16957 insertions(+), 441 deletions(-) create mode 100644 INSTALL.VMS create mode 100644 apps/CA.com create mode 100644 apps/install.com create mode 100644 apps/makeapps.com create mode 100644 apps/openssl-vms.cnf create mode 100644 crypto/bn/asm/vms.mar create mode 100644 crypto/bn/vms-helper.c create mode 100644 crypto/crypto-lib.com create mode 100644 crypto/des/des-lib.com delete mode 100755 crypto/des/vms.com create mode 100644 crypto/install.com delete mode 100755 crypto/libvms.com create mode 100644 install.com create mode 100644 rsaref/install.com create mode 100644 rsaref/rsaref-lib.com create mode 100644 ssl/install.com create mode 100644 ssl/ssl-lib.com create mode 100644 test/VMSca-response.1 create mode 100644 test/VMSca-response.2 create mode 100644 test/maketests.com create mode 100644 test/tcrl.com create mode 100644 test/testca.com create mode 100644 test/testenc.com create mode 100644 test/testgen.com create mode 100644 test/tests.com create mode 100644 test/testss.com create mode 100644 test/testssl.com create mode 100644 test/tpkcs7.com create mode 100644 test/tpkcs7d.com create mode 100644 test/treq.com create mode 100644 test/trsa.com create mode 100644 test/tsid.com create mode 100644 test/tverify.com create mode 100644 test/tx509.com diff --git a/CHANGES b/CHANGES index df6dbeb0b7..770bd1982b 100644 --- a/CHANGES +++ b/CHANGES @@ -5,6 +5,9 @@ Changes between 0.9.2b and 0.9.3 + *) VMS support. + [Richard Levitte ] + *) New option -out to asn1parse to allow the parsed structure to be output to a file. This is most useful when combined with the -strparse option to examine the output of things like OCTET STRINGS. diff --git a/INSTALL b/INSTALL index f8dc959053..424869aa10 100644 --- a/INSTALL +++ b/INSTALL @@ -2,7 +2,8 @@ INSTALLATION ON THE UNIX PLATFORM --------------------------------- - [For instructions for compiling OpenSSL on Windows systems, see INSTALL.W32]. + [See INSTALL.W32 for instructions for compiling OpenSSL on Windows systems, + and INSTALL.VMS for installing on OpenVMS systems.] To install OpenSSL, you will need: diff --git a/INSTALL.VMS b/INSTALL.VMS new file mode 100644 index 0000000000..cf3c81a6ef --- /dev/null +++ b/INSTALL.VMS @@ -0,0 +1,204 @@ + VMS Installation instructions + written by Richard Levitte + + + +Intro: +====== + +This file is divided in the following parts: + + Compilation - Mandatory reading. + Test - Mandatory reading. + Installation - Mandatory reading. + Backward portability - Read if it's an issue. + Possible bugs or quirks - A few warnings on things that + may go wrong or may surprise you. + Report - How to get in touch with me. + +Compilation: +============ + +I've used the very good command procedures written by Robert Byer +, and just slightly modified them, making +them slightly more general and easier to maintain. + +You can actually compile in almost any directory separately. Look +for a command procedure name xxx-LIB.COM (in the library directories) +or MAKExxx.COM (in the program directories) and read the comments at +the top to understand how to use them. However, if you want to +compile all you can get, the simplest is to use MAKEVMS.COM in the top +directory. The syntax is trhe following: + + @MAKEVMS