Add support for md4WithRSAEncryption.
authorRichard Levitte <levitte@openssl.org>
Wed, 10 Oct 2001 21:51:00 +0000 (21:51 +0000)
committerRichard Levitte <levitte@openssl.org>
Wed, 10 Oct 2001 21:51:00 +0000 (21:51 +0000)
apps/req.c
crypto/evp/m_md4.c
crypto/objects/objects.txt

index b123236beb4c3117b13102305276ebf1236a5075..7b61dc6dd844f44b4059ea77d3fed62c3dc55abc 100644 (file)
@@ -383,8 +383,7 @@ bad:
                BIO_printf(bio_err,"                the random number generator\n");
                BIO_printf(bio_err," -newkey rsa:bits generate a new RSA key of 'bits' in size\n");
                BIO_printf(bio_err," -newkey dsa:file generate a new DSA key, parameters taken from CA in 'file'\n");
-
-               BIO_printf(bio_err," -[digest]      Digest to sign with (md5, sha1, md2, mdc2)\n");
+               BIO_printf(bio_err," -[digest]      Digest to sign with (md5, sha1, md2, mdc2, md4)\n");
                BIO_printf(bio_err," -config file   request template file.\n");
                BIO_printf(bio_err," -new           new request.\n");
                BIO_printf(bio_err," -x509          output a x509 structure instead of a cert. req.\n");
index 6a24ceb86d6e6d4e109aedbb72cc70b5095f0589..e5005abfae805ba0ac189b34775f54561c96700d 100644 (file)
@@ -66,7 +66,7 @@
 static EVP_MD md4_md=
        {
        NID_md4,
-       0,
+       NID_md4WithRSAEncryption,
        MD4_DIGEST_LENGTH,
        MD4_Init,
        MD4_Update,
index 0ec7e3be88942da926e5426203d35424e7463985..5741ef5fc421fc2ea92e69830d3c2c4bd8355b6e 100644 (file)
@@ -32,6 +32,7 @@ rsadsi 1              : pkcs                  : RSA Data Security, Inc. PKCS
 pkcs 1                 : pkcs1
 pkcs1 1                        :                       : rsaEncryption
 pkcs1 2                        : RSA-MD2               : md2WithRSAEncryption
+pkcs1 3                        : RSA-MD4               : md4WithRSAEncryption
 pkcs1 4                        : RSA-MD5               : md5WithRSAEncryption
 pkcs1 5                        : RSA-SHA1              : sha1WithRSAEncryption