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

index 6fac16f97af3281af09850fdde661903d2d4ec75..9611431fe7072a45747b06657a5156112ab91ebc 100644 (file)
@@ -420,7 +420,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," -subj arg      set or modify request subject\n");
                BIO_printf(bio_err," -new           new request.\n");
index 8565e5d529baceb0f0708e11da161a0950a689d9..e19b6637546c019e87c4c3778e7f8ecc2f13b0f0 100644 (file)
@@ -76,7 +76,7 @@ static int final(EVP_MD_CTX *ctx,unsigned char *md)
 static const EVP_MD md4_md=
        {
        NID_md4,
-       0,
+       NID_md4WithRSAEncryption,
        MD4_DIGEST_LENGTH,
        0,
        init,
index d0a4dc440fbd655efa4b81dd3b20368d341c50c8..fa520bdc8839f4ab6b45742fb738256672569ee2 100644 (file)
@@ -60,6 +60,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