projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
260c497
)
Handle bad content type. Coverity ID 99.
author
Ben Laurie
<ben@openssl.org>
Wed, 4 Apr 2007 15:31:17 +0000
(15:31 +0000)
committer
Ben Laurie
<ben@openssl.org>
Wed, 4 Apr 2007 15:31:17 +0000
(15:31 +0000)
crypto/pkcs7/pk7_doit.c
patch
|
blob
|
history
diff --git
a/crypto/pkcs7/pk7_doit.c
b/crypto/pkcs7/pk7_doit.c
index 655c30efa3b35da9ecb12d4f75974f7990d35854..37e35e1677897ff03c649a466e2394e829a7987d 100644
(file)
--- 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)