X-Git-Url: https://git.openssl.org/?a=blobdiff_plain;f=apps%2Fcms.c;h=3db36fee02fe6bbb2966fa1f7a3a704b08e89839;hb=ceb6d746941063eccf7655c7709ba56ca117044b;hp=21f096192a666546d5caac7cdde32c6aaa9000e1;hpb=609b0852e4d50251857dbbac3141ba042e35a9ae;p=openssl.git diff --git a/apps/cms.c b/apps/cms.c index 21f096192a..3db36fee02 100644 --- a/apps/cms.c +++ b/apps/cms.c @@ -84,7 +84,7 @@ typedef enum OPTION_choice { OPT_CIPHER } OPTION_CHOICE; -OPTIONS cms_options[] = { +const OPTIONS cms_options[] = { {OPT_HELP_STR, 1, '-', "Usage: %s [options] cert.pem...\n"}, {OPT_HELP_STR, 1, '-', " cert.pem... recipient certs for encryption\n"}, @@ -1109,6 +1109,7 @@ int cms_main(int argc, char **argv) EVP_PKEY_free(key); CMS_ContentInfo_free(cms); CMS_ContentInfo_free(rcms); + release_engine(e); BIO_free(rctin); BIO_free(in); BIO_free(indata);