Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/crypto/dist/openssl OpenSSL 0.9.6a



details:   https://anonhg.NetBSD.org/src/rev/7463fe66ba71
branches:  trunk
changeset: 508482:7463fe66ba71
user:      itojun <itojun%NetBSD.org@localhost>
date:      Thu Apr 12 03:10:36 2001 +0000

description:
OpenSSL 0.9.6a

diffstat:

 crypto/dist/openssl/VMS/install.com                                |     6 +-
 crypto/dist/openssl/doc/README                                     |     2 +
 crypto/dist/openssl/doc/apps/CA.pl.pod                             |    11 +-
 crypto/dist/openssl/doc/apps/ca.pod                                |     9 +
 crypto/dist/openssl/doc/apps/ciphers.pod                           |     8 +-
 crypto/dist/openssl/doc/apps/dgst.pod                              |    67 +-
 crypto/dist/openssl/doc/apps/dhparam.pod                           |     2 +-
 crypto/dist/openssl/doc/apps/dsaparam.pod                          |     2 +-
 crypto/dist/openssl/doc/apps/gendsa.pod                            |     2 +-
 crypto/dist/openssl/doc/apps/genrsa.pod                            |     2 +-
 crypto/dist/openssl/doc/apps/openssl.pod                           |    19 +-
 crypto/dist/openssl/doc/apps/passwd.pod                            |    13 +-
 crypto/dist/openssl/doc/apps/pkcs12.pod                            |    22 +-
 crypto/dist/openssl/doc/apps/rand.pod                              |     2 +-
 crypto/dist/openssl/doc/apps/req.pod                               |    10 +
 crypto/dist/openssl/doc/apps/rsa.pod                               |    31 +-
 crypto/dist/openssl/doc/apps/rsautl.pod                            |   183 +
 crypto/dist/openssl/doc/apps/s_client.pod                          |     9 +
 crypto/dist/openssl/doc/apps/s_server.pod                          |    11 +-
 crypto/dist/openssl/doc/apps/smime.pod                             |    57 +-
 crypto/dist/openssl/doc/apps/speed.pod                             |     2 +-
 crypto/dist/openssl/doc/apps/verify.pod                            |    63 +-
 crypto/dist/openssl/doc/apps/x509.pod                              |   176 +-
 crypto/dist/openssl/doc/crypto/BIO_ctrl.pod                        |   128 +
 crypto/dist/openssl/doc/crypto/BIO_f_base64.pod                    |    82 +
 crypto/dist/openssl/doc/crypto/BIO_f_buffer.pod                    |    69 +
 crypto/dist/openssl/doc/crypto/BIO_f_cipher.pod                    |    76 +
 crypto/dist/openssl/doc/crypto/BIO_f_md.pod                        |   138 +
 crypto/dist/openssl/doc/crypto/BIO_f_null.pod                      |    32 +
 crypto/dist/openssl/doc/crypto/BIO_f_ssl.pod                       |   313 +
 crypto/dist/openssl/doc/crypto/BIO_find_type.pod                   |    98 +
 crypto/dist/openssl/doc/crypto/BIO_new.pod                         |    65 +
 crypto/dist/openssl/doc/crypto/BIO_new_bio_pair.pod                |   102 +
 crypto/dist/openssl/doc/crypto/BIO_push.pod                        |    69 +
 crypto/dist/openssl/doc/crypto/BIO_read.pod                        |    66 +
 crypto/dist/openssl/doc/crypto/BIO_s_accept.pod                    |   184 +
 crypto/dist/openssl/doc/crypto/BIO_s_bio.pod                       |   130 +
 crypto/dist/openssl/doc/crypto/BIO_s_connect.pod                   |   182 +
 crypto/dist/openssl/doc/crypto/BIO_s_fd.pod                        |    89 +
 crypto/dist/openssl/doc/crypto/BIO_s_file.pod                      |   144 +
 crypto/dist/openssl/doc/crypto/BIO_s_mem.pod                       |   115 +
 crypto/dist/openssl/doc/crypto/BIO_s_null.pod                      |    37 +
 crypto/dist/openssl/doc/crypto/BIO_s_socket.pod                    |    61 +
 crypto/dist/openssl/doc/crypto/BIO_set_callback.pod                |   108 +
 crypto/dist/openssl/doc/crypto/BIO_should_retry.pod                |   114 +
 crypto/dist/openssl/doc/crypto/BN_CTX_start.pod                    |     3 +-
 crypto/dist/openssl/doc/crypto/BN_bn2bin.pod                       |     2 +-
 crypto/dist/openssl/doc/crypto/BN_mod_mul_montgomery.pod           |     4 +-
 crypto/dist/openssl/doc/crypto/BN_mod_mul_reciprocal.pod           |     2 +-
 crypto/dist/openssl/doc/crypto/BN_rand.pod                         |    22 +-
 crypto/dist/openssl/doc/crypto/BN_zero.pod                         |     3 +-
 crypto/dist/openssl/doc/crypto/DH_set_method.pod                   |     7 +-
 crypto/dist/openssl/doc/crypto/DSA_set_method.pod                  |    13 +-
 crypto/dist/openssl/doc/crypto/ERR_error_string.pod                |    16 +-
 crypto/dist/openssl/doc/crypto/ERR_get_error.pod                   |     5 +-
 crypto/dist/openssl/doc/crypto/ERR_remove_state.pod                |     2 +-
 crypto/dist/openssl/doc/crypto/EVP_DigestInit.pod                  |    15 +-
 crypto/dist/openssl/doc/crypto/EVP_EncryptInit.pod                 |   199 +-
 crypto/dist/openssl/doc/crypto/EVP_OpenInit.pod                    |    28 +-
 crypto/dist/openssl/doc/crypto/EVP_SealInit.pod                    |    18 +-
 crypto/dist/openssl/doc/crypto/EVP_SignInit.pod                    |     6 +-
 crypto/dist/openssl/doc/crypto/EVP_VerifyInit.pod                  |     7 +-
 crypto/dist/openssl/doc/crypto/OPENSSL_VERSION_NUMBER.pod          |    46 +-
 crypto/dist/openssl/doc/crypto/OpenSSL_add_all_algorithms.pod      |     5 +-
 crypto/dist/openssl/doc/crypto/RAND_egd.pod                        |    37 +-
 crypto/dist/openssl/doc/crypto/RAND_load_file.pod                  |     2 +-
 crypto/dist/openssl/doc/crypto/RSA_get_ex_new_index.pod            |    14 +-
 crypto/dist/openssl/doc/crypto/RSA_print.pod                       |     5 +-
 crypto/dist/openssl/doc/crypto/RSA_public_encrypt.pod              |     2 +-
 crypto/dist/openssl/doc/crypto/RSA_set_method.pod                  |     2 +-
 crypto/dist/openssl/doc/crypto/bio.pod                             |    54 +
 crypto/dist/openssl/doc/crypto/blowfish.pod                        |    39 +-
 crypto/dist/openssl/doc/crypto/bn.pod                              |     1 +
 crypto/dist/openssl/doc/crypto/bn_internal.pod                     |     2 +-
 crypto/dist/openssl/doc/crypto/buffer.pod                          |     6 +-
 crypto/dist/openssl/doc/crypto/crypto.pod                          |     5 +-
 crypto/dist/openssl/doc/crypto/des.pod                             |    12 +-
 crypto/dist/openssl/doc/crypto/err.pod                             |     2 +-
 crypto/dist/openssl/doc/crypto/evp.pod                             |    37 +
 crypto/dist/openssl/doc/crypto/hmac.pod                            |     3 +-
 crypto/dist/openssl/doc/crypto/lhash.pod                           |     2 +-
 crypto/dist/openssl/doc/crypto/md5.pod                             |    44 +-
 crypto/dist/openssl/doc/crypto/rand.pod                            |    12 +-
 crypto/dist/openssl/doc/crypto/rsa.pod                             |     2 +-
 crypto/dist/openssl/doc/crypto/threads.pod                         |    92 +-
 crypto/dist/openssl/doc/openssl.txt                                |    59 +
 crypto/dist/openssl/doc/ssl/SSL_CIPHER_get_name.pod                |   112 +
 crypto/dist/openssl/doc/ssl/SSL_CTX_add_extra_chain_cert.pod       |    38 +
 crypto/dist/openssl/doc/ssl/SSL_CTX_add_session.pod                |    65 +
 crypto/dist/openssl/doc/ssl/SSL_CTX_flush_sessions.pod             |    49 +
 crypto/dist/openssl/doc/ssl/SSL_CTX_free.pod                       |    29 +
 crypto/dist/openssl/doc/ssl/SSL_CTX_get_ex_new_index.pod           |    53 +
 crypto/dist/openssl/doc/ssl/SSL_CTX_get_verify_mode.pod            |    50 +
 crypto/dist/openssl/doc/ssl/SSL_CTX_load_verify_locations.pod      |   124 +
 crypto/dist/openssl/doc/ssl/SSL_CTX_new.pod                        |    98 +
 crypto/dist/openssl/doc/ssl/SSL_CTX_sess_number.pod                |    76 +
 crypto/dist/openssl/doc/ssl/SSL_CTX_sess_set_cache_size.pod        |    51 +
 crypto/dist/openssl/doc/ssl/SSL_CTX_sess_set_get_cb.pod            |    81 +
 crypto/dist/openssl/doc/ssl/SSL_CTX_sessions.pod                   |    34 +
 crypto/dist/openssl/doc/ssl/SSL_CTX_set_cipher_list.pod            |    52 +
 crypto/dist/openssl/doc/ssl/SSL_CTX_set_client_CA_list.pod         |    90 +
 crypto/dist/openssl/doc/ssl/SSL_CTX_set_default_passwd_cb.pod      |    70 +
 crypto/dist/openssl/doc/ssl/SSL_CTX_set_mode.pod                   |    78 +
 crypto/dist/openssl/doc/ssl/SSL_CTX_set_options.pod                |   183 +
 crypto/dist/openssl/doc/ssl/SSL_CTX_set_session_cache_mode.pod     |   107 +
 crypto/dist/openssl/doc/ssl/SSL_CTX_set_session_id_context.pod     |    82 +
 crypto/dist/openssl/doc/ssl/SSL_CTX_set_ssl_version.pod            |    61 +
 crypto/dist/openssl/doc/ssl/SSL_CTX_set_timeout.pod                |    55 +
 crypto/dist/openssl/doc/ssl/SSL_CTX_set_verify.pod                 |   284 +
 crypto/dist/openssl/doc/ssl/SSL_CTX_use_certificate.pod            |   154 +
 crypto/dist/openssl/doc/ssl/SSL_SESSION_free.pod                   |    25 +
 crypto/dist/openssl/doc/ssl/SSL_SESSION_get_ex_new_index.pod       |    61 +
 crypto/dist/openssl/doc/ssl/SSL_SESSION_get_time.pod               |    63 +
 crypto/dist/openssl/doc/ssl/SSL_accept.pod                         |    79 +
 crypto/dist/openssl/doc/ssl/SSL_clear.pod                          |    49 +
 crypto/dist/openssl/doc/ssl/SSL_connect.pod                        |    76 +
 crypto/dist/openssl/doc/ssl/SSL_free.pod                           |    44 +
 crypto/dist/openssl/doc/ssl/SSL_get_ciphers.pod                    |    42 +
 crypto/dist/openssl/doc/ssl/SSL_get_client_CA_list.pod             |    52 +
 crypto/dist/openssl/doc/ssl/SSL_get_current_cipher.pod             |    43 +
 crypto/dist/openssl/doc/ssl/SSL_get_error.pod                      |    52 +-
 crypto/dist/openssl/doc/ssl/SSL_get_ex_data_X509_STORE_CTX_idx.pod |    61 +
 crypto/dist/openssl/doc/ssl/SSL_get_ex_new_index.pod               |    59 +
 crypto/dist/openssl/doc/ssl/SSL_get_fd.pod                         |    44 +
 crypto/dist/openssl/doc/ssl/SSL_get_peer_cert_chain.pod            |    52 +
 crypto/dist/openssl/doc/ssl/SSL_get_peer_certificate.pod           |    48 +
 crypto/dist/openssl/doc/ssl/SSL_get_rbio.pod                       |    40 +
 crypto/dist/openssl/doc/ssl/SSL_get_session.pod                    |    65 +
 crypto/dist/openssl/doc/ssl/SSL_get_verify_result.pod              |    57 +
 crypto/dist/openssl/doc/ssl/SSL_get_version.pod                    |    46 +
 crypto/dist/openssl/doc/ssl/SSL_library_init.pod                   |    52 +
 crypto/dist/openssl/doc/ssl/SSL_load_client_CA_file.pod            |    62 +
 crypto/dist/openssl/doc/ssl/SSL_new.pod                            |    43 +
 crypto/dist/openssl/doc/ssl/SSL_pending.pod                        |    43 +
 crypto/dist/openssl/doc/ssl/SSL_read.pod                           |    92 +
 crypto/dist/openssl/doc/ssl/SSL_set_bio.pod                        |    34 +
 crypto/dist/openssl/doc/ssl/SSL_set_connect_state.pod              |    47 +
 crypto/dist/openssl/doc/ssl/SSL_set_fd.pod                         |    54 +
 crypto/dist/openssl/doc/ssl/SSL_set_session.pod                    |    46 +
 crypto/dist/openssl/doc/ssl/SSL_set_shutdown.pod                   |    68 +
 crypto/dist/openssl/doc/ssl/SSL_set_verify_result.pod              |    38 +
 crypto/dist/openssl/doc/ssl/SSL_shutdown.pod                       |    72 +
 crypto/dist/openssl/doc/ssl/SSL_write.pod                          |    91 +
 crypto/dist/openssl/doc/ssl/d2i_SSL_SESSION.pod                    |    56 +
 crypto/dist/openssl/doc/ssl/ssl.pod                                |   162 +-
 crypto/dist/openssl/doc/ssleay.txt                                 |     2 +-
 crypto/dist/openssl/doc/standards.txt                              |   121 +
 crypto/dist/openssl/ms/16all.bat                                   |     3 +
 crypto/dist/openssl/ms/32all.bat                                   |     3 +
 crypto/dist/openssl/ms/mingw32.bat                                 |     2 +
 crypto/dist/openssl/ms/test.bat                                    |     2 +-
 crypto/dist/openssl/ms/tlhelp32.h                                  |   136 +
 crypto/dist/openssl/rsaref/Makefile.ssl                            |    19 +-
 crypto/dist/openssl/rsaref/rsaref.h                                |    14 +-
 crypto/dist/openssl/ssl/Makefile.ssl                               |   375 +-
 crypto/dist/openssl/ssl/bio_ssl.c                                  |    22 +-
 crypto/dist/openssl/ssl/s23_clnt.c                                 |     4 +-
 crypto/dist/openssl/ssl/s23_lib.c                                  |    40 +-
 crypto/dist/openssl/ssl/s23_meth.c                                 |     2 +-
 crypto/dist/openssl/ssl/s23_srvr.c                                 |    32 +-
 crypto/dist/openssl/ssl/s2_clnt.c                                  |     2 +
 crypto/dist/openssl/ssl/s2_enc.c                                   |     4 +-
 crypto/dist/openssl/ssl/s2_lib.c                                   |    30 +-
 crypto/dist/openssl/ssl/s2_pkt.c                                   |   171 +-
 crypto/dist/openssl/ssl/s2_srvr.c                                  |     4 +-
 crypto/dist/openssl/ssl/s3_both.c                                  |     8 +-
 crypto/dist/openssl/ssl/s3_clnt.c                                  |    27 +-
 crypto/dist/openssl/ssl/s3_enc.c                                   |    15 +-
 crypto/dist/openssl/ssl/s3_lib.c                                   |   102 +-
 crypto/dist/openssl/ssl/s3_pkt.c                                   |    78 +-
 crypto/dist/openssl/ssl/s3_srvr.c                                  |    27 +-
 crypto/dist/openssl/ssl/ssl2.h                                     |     8 +-
 crypto/dist/openssl/ssl/ssl_algs.c                                 |     4 +
 crypto/dist/openssl/ssl/ssl_asn1.c                                 |    16 +-
 crypto/dist/openssl/ssl/ssl_err.c                                  |     5 +
 crypto/dist/openssl/ssl/ssl_lib.c                                  |    57 +-
 crypto/dist/openssl/ssl/ssl_sess.c                                 |     7 +-
 crypto/dist/openssl/ssl/ssl_txt.c                                  |    52 +-
 crypto/dist/openssl/ssl/ssltest.c                                  |    19 +-
 crypto/dist/openssl/ssl/t1_enc.c                                   |    17 +-
 crypto/dist/openssl/ssl/tls1.h                                     |    11 +
 crypto/dist/openssl/test/Makefile.ssl                              |   106 +-
 crypto/dist/openssl/test/bctest                                    |    96 +
 crypto/dist/openssl/test/maketests.com                             |     2 +-
 crypto/dist/openssl/test/testp7.pem                                |    88 +-
 crypto/dist/openssl/test/tests.com                                 |     7 +-
 crypto/dist/openssl/times/x86/md4s.cpp                             |    78 +
 crypto/dist/openssl/tools/c_rehash                                 |   209 +-
 crypto/dist/openssl/tools/c_rehash.in                              |   209 +-
 crypto/dist/openssl/util/clean-depend.pl                           |     4 +-
 crypto/dist/openssl/util/libeay.num                                |  4107 ++++-----
 crypto/dist/openssl/util/mk1mf.pl                                  |    33 +-
 crypto/dist/openssl/util/mkdef.pl                                  |   770 +-
 crypto/dist/openssl/util/mkerr.pl                                  |    14 +-
 crypto/dist/openssl/util/mkfiles.pl                                |     2 +
 crypto/dist/openssl/util/mklink.pl                                 |    11 +-
 crypto/dist/openssl/util/mkstack.pl                                |   124 +
 crypto/dist/openssl/util/pl/BC-32.pl                               |     2 +-
 crypto/dist/openssl/util/pl/Mingw32.pl                             |     4 +-
 crypto/dist/openssl/util/pl/Mingw32f.pl                            |     4 +-
 crypto/dist/openssl/util/pl/VC-32.pl                               |     7 +-
 crypto/dist/openssl/util/pl/linux.pl                               |     4 +
 crypto/dist/openssl/util/pod2man.pl                                |     2 +
 crypto/dist/openssl/util/selftest.pl                               |    13 +-
 crypto/dist/openssl/util/sp-diff.pl                                |     2 +-
 crypto/dist/openssl/util/ssleay.num                                |   422 +-
 206 files changed, 12209 insertions(+), 3594 deletions(-)

diffs (truncated from 20069 to 300 lines):

diff -r 8c3e8e5c1281 -r 7463fe66ba71 crypto/dist/openssl/VMS/install.com
--- a/crypto/dist/openssl/VMS/install.com       Thu Apr 12 03:10:35 2001 +0000
+++ b/crypto/dist/openssl/VMS/install.com       Thu Apr 12 03:10:36 2001 +0000
@@ -34,10 +34,8 @@
 $      IF F$PARSE("WRK_SSLROOT:[VMS]") .EQS. "" THEN -
           CREATE/DIR/LOG WRK_SSLROOT:[VMS]
 $
-$      EXHEADER := vms_idhacks.h
-$
-$      COPY 'EXHEADER' WRK_SSLINCLUDE: /LOG
-$      SET FILE/PROT=WORLD:RE WRK_SSLINCLUDE:'EXHEADER'
+$      IF F$SEARCH("WRK_SSLINCLUDE:vms_idhacks.h") .NES. "" THEN -
+          DELETE WRK_SSLINCLUDE:vms_idhacks.h;*
 $
 $      OPEN/WRITE SF WRK_SSLROOT:[VMS]OPENSSL_STARTUP.COM
 $      WRITE SYS$OUTPUT "%OPEN-I-CREATED,  ",F$SEARCH("WRK_SSLROOT:[VMS]OPENSSL_STARTUP.COM")," created."
diff -r 8c3e8e5c1281 -r 7463fe66ba71 crypto/dist/openssl/doc/README
--- a/crypto/dist/openssl/doc/README    Thu Apr 12 03:10:35 2001 +0000
+++ b/crypto/dist/openssl/doc/README    Thu Apr 12 03:10:36 2001 +0000
@@ -4,6 +4,8 @@
  ssl/ssl.pod ......... Documentation of OpenSSL ssl.h+libssl.a
  openssl.txt ......... Assembled documentation files for OpenSSL [not final]
  ssleay.txt .......... Assembled documentation of ancestor SSLeay [obsolete]
+ standards.txt ....... Assembled pointers to standards, RFCs or internet drafts
+                       that are related to OpenSSL.
 
  An archive of HTML documents for the SSLeay library is available from
  http://www.columbia.edu/~ariel/ssleay/
diff -r 8c3e8e5c1281 -r 7463fe66ba71 crypto/dist/openssl/doc/apps/CA.pl.pod
--- a/crypto/dist/openssl/doc/apps/CA.pl.pod    Thu Apr 12 03:10:35 2001 +0000
+++ b/crypto/dist/openssl/doc/apps/CA.pl.pod    Thu Apr 12 03:10:36 2001 +0000
@@ -69,9 +69,16 @@
 
 calls the B<ca> program to sign a certificate request. It expects the request
 to be in the file "newreq.pem". The new certificate is written to the file
-"newcert.pem" except in the case of the B<-xcert> option when it is written
+"newcert.pem" except in the case of the B<-xsign> option when it is written
 to standard output.
 
+
+=item B<-signCA>
+
+this option is the same as the B<-signreq> option except it uses the configuration
+file section B<v3_ca> and so makes the signed request a valid CA certificate. This
+is useful when creating intermediate CA from a root CA.
+
 =item B<-signcert>
 
 this option is the same as B<-sign> except it expects a self signed certificate
@@ -122,7 +129,7 @@
 
 enter cacert.pem when prompted for the CA file name.
 
-Create a DSA certificate request and privat key (a different set of parameters
+Create a DSA certificate request and private key (a different set of parameters
 can optionally be created first):
 
  openssl req -out newreq.pem -newkey dsa:dsap.pem 
diff -r 8c3e8e5c1281 -r 7463fe66ba71 crypto/dist/openssl/doc/apps/ca.pod
--- a/crypto/dist/openssl/doc/apps/ca.pod       Thu Apr 12 03:10:35 2001 +0000
+++ b/crypto/dist/openssl/doc/apps/ca.pod       Thu Apr 12 03:10:36 2001 +0000
@@ -23,6 +23,7 @@
 [B<-policy arg>]
 [B<-keyfile arg>]
 [B<-key arg>]
+[B<-passin arg>]
 [B<-cert file>]
 [B<-in file>]
 [B<-out file>]
@@ -99,6 +100,10 @@
 systems the command line arguments are visible (e.g. Unix with
 the 'ps' utility) this option should be used with caution.
 
+=item B<-passin arg>
+
+the key password source. For more information about the format of B<arg>
+see the B<PASS PHRASE ARGUMENTS> section in L<openssl(1)|openssl(1)>.
 =item B<-verbose>
 
 this prints extra details about the operations being performed.
@@ -342,6 +347,10 @@
 
  openssl ca -in req.pem -out newcert.pem
 
+Sign a certificate request, using CA extensions:
+
+ openssl ca -in req.pem -extensions v3_ca -out newcert.pem
+
 Generate a CRL
 
  openssl ca -gencrl -out crl.pem
diff -r 8c3e8e5c1281 -r 7463fe66ba71 crypto/dist/openssl/doc/apps/ciphers.pod
--- a/crypto/dist/openssl/doc/apps/ciphers.pod  Thu Apr 12 03:10:35 2001 +0000
+++ b/crypto/dist/openssl/doc/apps/ciphers.pod  Thu Apr 12 03:10:36 2001 +0000
@@ -25,9 +25,13 @@
 
 =item B<-v>
 
-verbose option. List ciphers with a complete description of the authentication,
-key exchange, encryption and mac algorithms used along with any key size
+verbose option. List ciphers with a complete description of
+protocol version (SSLv2 or SSLv3; the latter includes TLS), key exchange,
+authentication, encryption and mac algorithms used along with any key size
 restrictions and whether the algorithm is classed as an "export" cipher.
+Note that without the B<-v> option, ciphers may seem to appear twice
+in a cipher list; this is when similar ciphers are available for
+SSL v2 and for SSL v3/TLS v1.
 
 =item B<-ssl3>
 
diff -r 8c3e8e5c1281 -r 7463fe66ba71 crypto/dist/openssl/doc/apps/dgst.pod
--- a/crypto/dist/openssl/doc/apps/dgst.pod     Thu Apr 12 03:10:35 2001 +0000
+++ b/crypto/dist/openssl/doc/apps/dgst.pod     Thu Apr 12 03:10:36 2001 +0000
@@ -2,25 +2,32 @@
 
 =head1 NAME
 
-dgst, md5, md2, sha1, sha, mdc2, ripemd160 - message digests
+dgst, md5, md4, md2, sha1, sha, mdc2, ripemd160 - message digests
 
 =head1 SYNOPSIS
 
 B<openssl> B<dgst> 
-[B<-md5|-md2|-sha1|-sha|mdc2|-ripemd160>]
+[B<-md5|-md4|-md2|-sha1|-sha|-mdc2|-ripemd160|-dss1>]
 [B<-c>]
 [B<-d>]
+[B<-hex>]
+[B<-binary>]
+[B<-out filename>]
+[B<-sign filename>]
+[B<-verify filename>]
+[B<-prverify filename>]
+[B<-signature filename>]
 [B<file...>]
 
-[B<md5|md2|sha1|sha|mdc2|ripemd160>]
+[B<md5|md4|md2|sha1|sha|mdc2|ripemd160>]
 [B<-c>]
 [B<-d>]
 [B<file...>]
 
 =head1 DESCRIPTION
 
-The digest functions print out the message digest of a supplied file or files
-in hexadecimal form.
+The digest functions output the message digest of a supplied file or files
+in hexadecimal form. They can also be used for digital signing and verification.
 
 =head1 OPTIONS
 
@@ -28,12 +35,51 @@
 
 =item B<-c>
 
-print out the digest in two digit groups separated by colons.
+print out the digest in two digit groups separated by colons, only relevant if
+B<hex> format output is used.
 
 =item B<-d>
 
 print out BIO debugging information.
 
+=item B<-hex>
+
+digest is to be output as a hex dump. This is the default case for a "normal"
+digest as opposed to a digital signature.
+
+=item B<-binary>
+
+output the digest or signature in binary form.
+
+=item B<-out filename>
+
+filename to output to, or standard output by default.
+
+=item B<-sign filename>
+
+digitally sign the digest using the private key in "filename".
+
+=item B<-verify filename>
+
+verify the signature using the the public key in "filename".
+The output is either "Verification OK" or "Verification Failure".
+
+=item B<-prverify filename>
+
+verify the signature using the  the private key in "filename".
+
+=item B<-signature filename>
+
+the actual signature to verify.
+
+=item B<-rand file(s)>
+
+a file or files containing random data used to seed the random number
+generator, or an EGD socket (see L<RAND_egd(3)|RAND_egd(3)>).
+Multiple files can be specified separated by a OS-dependent character.
+The separator is B<;> for MS-Windows, B<,> for OpenVMS, and B<:> for
+all others. 
+
 =item B<file...>
 
 file or files to digest. If no files are specified then standard input is
@@ -46,4 +92,13 @@
 The digest of choice for all new applications is SHA1. Other digests are
 however still widely used.
 
+If you wish to sign or verify data using the DSA algorithm then the dss1
+digest must be used.
+
+A source of random numbers is required for certain signing algorithms, in
+particular DSA.
+
+The signing and verify options should only be used if a single file is
+being signed or verified.
+
 =cut
diff -r 8c3e8e5c1281 -r 7463fe66ba71 crypto/dist/openssl/doc/apps/dhparam.pod
--- a/crypto/dist/openssl/doc/apps/dhparam.pod  Thu Apr 12 03:10:35 2001 +0000
+++ b/crypto/dist/openssl/doc/apps/dhparam.pod  Thu Apr 12 03:10:36 2001 +0000
@@ -73,7 +73,7 @@
 a file or files containing random data used to seed the random number
 generator, or an EGD socket (see L<RAND_egd(3)|RAND_egd(3)>).
 Multiple files can be specified separated by a OS-dependent character.
-The separator is B<;> for MS-Windows, B<,> for OpenVSM, and B<:> for
+The separator is B<;> for MS-Windows, B<,> for OpenVMS, and B<:> for
 all others.
 
 =item I<numbits>
diff -r 8c3e8e5c1281 -r 7463fe66ba71 crypto/dist/openssl/doc/apps/dsaparam.pod
--- a/crypto/dist/openssl/doc/apps/dsaparam.pod Thu Apr 12 03:10:35 2001 +0000
+++ b/crypto/dist/openssl/doc/apps/dsaparam.pod Thu Apr 12 03:10:36 2001 +0000
@@ -73,7 +73,7 @@
 a file or files containing random data used to seed the random number
 generator, or an EGD socket (see L<RAND_egd(3)|RAND_egd(3)>).
 Multiple files can be specified separated by a OS-dependent character.
-The separator is B<;> for MS-Windows, B<,> for OpenVSM, and B<:> for
+The separator is B<;> for MS-Windows, B<,> for OpenVMS, and B<:> for
 all others.
 
 =item B<numbits>
diff -r 8c3e8e5c1281 -r 7463fe66ba71 crypto/dist/openssl/doc/apps/gendsa.pod
--- a/crypto/dist/openssl/doc/apps/gendsa.pod   Thu Apr 12 03:10:35 2001 +0000
+++ b/crypto/dist/openssl/doc/apps/gendsa.pod   Thu Apr 12 03:10:36 2001 +0000
@@ -34,7 +34,7 @@
 a file or files containing random data used to seed the random number
 generator, or an EGD socket (see L<RAND_egd(3)|RAND_egd(3)>).
 Multiple files can be specified separated by a OS-dependent character.
-The separator is B<;> for MS-Windows, B<,> for OpenVSM, and B<:> for
+The separator is B<;> for MS-Windows, B<,> for OpenVMS, and B<:> for
 all others.
 
 =item B<paramfile>
diff -r 8c3e8e5c1281 -r 7463fe66ba71 crypto/dist/openssl/doc/apps/genrsa.pod
--- a/crypto/dist/openssl/doc/apps/genrsa.pod   Thu Apr 12 03:10:35 2001 +0000
+++ b/crypto/dist/openssl/doc/apps/genrsa.pod   Thu Apr 12 03:10:36 2001 +0000
@@ -51,7 +51,7 @@
 a file or files containing random data used to seed the random number
 generator, or an EGD socket (see L<RAND_egd(3)|RAND_egd(3)>).
 Multiple files can be specified separated by a OS-dependent character.
-The separator is B<;> for MS-Windows, B<,> for OpenVSM, and B<:> for
+The separator is B<;> for MS-Windows, B<,> for OpenVMS, and B<:> for
 all others.
 
 =item B<numbits>
diff -r 8c3e8e5c1281 -r 7463fe66ba71 crypto/dist/openssl/doc/apps/openssl.pod
--- a/crypto/dist/openssl/doc/apps/openssl.pod  Thu Apr 12 03:10:35 2001 +0000
+++ b/crypto/dist/openssl/doc/apps/openssl.pod  Thu Apr 12 03:10:36 2001 +0000
@@ -83,9 +83,10 @@
 
 Message Digest Calculation.
 
-=item L<B<dh>|dh(1)>
+=item B<dh>
 
-Diffie-Hellman Data Management.
+Diffie-Hellman Parameter Management.
+Obsoleted by L<B<dhparam>|dhparam(1)>.
 
 =item L<B<dsa>|dsa(1)>
 
@@ -103,9 +104,14 @@
 
 Error Number to Error String Conversion.
 
-=item L<B<gendh>|gendh(1)>
+=item L<B<dhparam>|dhparam(1)>
+
+Generation and Management of Diffie-Hellman Parameters.
+
+=item B<gendh>
 
 Generation of Diffie-Hellman Parameters.
+Obsoleted by L<B<dhparam>|dhparam(1)>.
 
 =item L<B<gendsa>|gendsa(1)>
 
@@ -135,6 +141,10 @@
 



Home | Main Index | Thread Index | Old Index