diff options
Diffstat (limited to 'demos/cms/cms_sign.c')
-rw-r--r-- | demos/cms/cms_sign.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/demos/cms/cms_sign.c b/demos/cms/cms_sign.c index 3ad5ce8c18..e9871dfd36 100644 --- a/demos/cms/cms_sign.c +++ b/demos/cms/cms_sign.c @@ -71,8 +71,7 @@ int main(int argc, char **argv) if (cms) CMS_ContentInfo_free(cms); - if (scert) - X509_free(scert); + X509_free(scert); EVP_PKEY_free(skey); BIO_free(in); |