From: Ben Laurie Date: Wed, 4 Apr 2007 15:31:17 +0000 (+0000) Subject: Handle bad content type. Coverity ID 99. X-Git-Tag: OpenSSL_0_9_8k^2~912 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=4f1a0b2c21bd31310438567afa303baf826a670b;p=oweals%2Fopenssl.git Handle bad content type. Coverity ID 99. --- diff --git a/crypto/pkcs7/pk7_doit.c b/crypto/pkcs7/pk7_doit.c index 655c30efa3..37e35e1677 100644 --- a/crypto/pkcs7/pk7_doit.c +++ b/crypto/pkcs7/pk7_doit.c @@ -763,6 +763,9 @@ int PKCS7_dataFinal(PKCS7 *p7, BIO *bio) } break; + default: + PKCS7err(PKCS7_F_PKCS7_DATAFINAL,PKCS7_R_UNSUPPORTED_CONTENT_TYPE); + goto err; } if (si_sk != NULL)