crypto: pkcs7 - remove md4 md5 x.509 support
[linux-2.6-microblaze.git] / crypto / asymmetric_keys / x509_cert_parser.c
index 0a7049b..2c30928 100644 (file)
@@ -195,15 +195,9 @@ int x509_note_sig_algo(void *context, size_t hdrlen, unsigned char tag,
        pr_debug("PubKey Algo: %u\n", ctx->last_oid);
 
        switch (ctx->last_oid) {
-       case OID_md2WithRSAEncryption:
-       case OID_md3WithRSAEncryption:
        default:
                return -ENOPKG; /* Unsupported combination */
 
-       case OID_md4WithRSAEncryption:
-               ctx->cert->sig->hash_algo = "md4";
-               goto rsa_pkcs1;
-
        case OID_sha1WithRSAEncryption:
                ctx->cert->sig->hash_algo = "sha1";
                goto rsa_pkcs1;