Add support for md4WithRSAEncryption.
diff --git a/apps/req.c b/apps/req.c index 6fac16f..9611431 100644 --- a/apps/req.c +++ b/apps/req.c
@@ -420,7 +420,7 @@ 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");
diff --git a/crypto/evp/m_md4.c b/crypto/evp/m_md4.c index 8565e5d..e19b663 100644 --- a/crypto/evp/m_md4.c +++ b/crypto/evp/m_md4.c
@@ -76,7 +76,7 @@ static const EVP_MD md4_md= { NID_md4, - 0, + NID_md4WithRSAEncryption, MD4_DIGEST_LENGTH, 0, init,
diff --git a/crypto/objects/objects.txt b/crypto/objects/objects.txt index d0a4dc4..fa520bd 100644 --- a/crypto/objects/objects.txt +++ b/crypto/objects/objects.txt
@@ -60,6 +60,7 @@ 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