diff options
Diffstat (limited to 'demos/smime/smdec.c')
-rw-r--r-- | demos/smime/smdec.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/demos/smime/smdec.c b/demos/smime/smdec.c index b50f8dffaf..a418707b6b 100644 --- a/demos/smime/smdec.c +++ b/demos/smime/smdec.c @@ -63,8 +63,7 @@ int main(int argc, char **argv) PKCS7_free(p7); if (rcert) X509_free(rcert); - if (rkey) - EVP_PKEY_free(rkey); + EVP_PKEY_free(rkey); BIO_free(in); BIO_free(out); |