summaryrefslogtreecommitdiffstats
path: root/crypto/cms/cms_asn1.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2008-03-16 21:59:10 +0100
committerDr. Stephen Henson <steve@openssl.org>2008-03-16 21:59:10 +0100
commit7c337e00d23ac421ff1949ac1bbce2e8b718299e (patch)
tree3a7976f3d6a98d1273170ec17feda7db109a40a6 /crypto/cms/cms_asn1.c
parentFix a nasty cast issue that my compiler was choking on. (diff)
downloadopenssl-7c337e00d23ac421ff1949ac1bbce2e8b718299e.tar.xz
openssl-7c337e00d23ac421ff1949ac1bbce2e8b718299e.zip
Fix some warnings.
Diffstat (limited to 'crypto/cms/cms_asn1.c')
-rw-r--r--crypto/cms/cms_asn1.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/crypto/cms/cms_asn1.c b/crypto/cms/cms_asn1.c
index b9521c9a5a..d6363deb37 100644
--- a/crypto/cms/cms_asn1.c
+++ b/crypto/cms/cms_asn1.c
@@ -309,6 +309,8 @@ static int cms_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it,
CMS_ContentInfo *cms;
if (pval)
cms = (CMS_ContentInfo *)*pval;
+ else
+ return 1;
switch(operation)
{