From: Richard Levitte Date: Wed, 10 Oct 2001 21:51:00 +0000 (+0000) Subject: Add support for md4WithRSAEncryption. X-Git-Tag: OpenSSL_0_9_6c~97 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=744301ccd86dedbec095da814b6ec152a9afe408;p=oweals%2Fopenssl.git Add support for md4WithRSAEncryption. --- diff --git a/apps/req.c b/apps/req.c index b123236beb..7b61dc6dd8 100644 --- a/apps/req.c +++ b/apps/req.c @@ -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"); diff --git a/crypto/evp/m_md4.c b/crypto/evp/m_md4.c index 6a24ceb86d..e5005abfae 100644 --- a/crypto/evp/m_md4.c +++ b/crypto/evp/m_md4.c @@ -66,7 +66,7 @@ static EVP_MD md4_md= { NID_md4, - 0, + NID_md4WithRSAEncryption, MD4_DIGEST_LENGTH, MD4_Init, MD4_Update, diff --git a/crypto/objects/objects.txt b/crypto/objects/objects.txt index 0ec7e3be88..5741ef5fc4 100644 --- a/crypto/objects/objects.txt +++ b/crypto/objects/objects.txt @@ -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