Import OpenSSL 1.1.0f
This commit is contained in:
@@ -1,3 +1,12 @@
|
||||
/*
|
||||
* Copyright 2008-2016 The OpenSSL Project Authors. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the OpenSSL license (the "License"). You may not use
|
||||
* this file except in compliance with the License. You can obtain a copy
|
||||
* in the file LICENSE in the source distribution or at
|
||||
* https://www.openssl.org/source/license.html
|
||||
*/
|
||||
|
||||
/* Simple S/MIME uncompression example */
|
||||
#include <openssl/pem.h>
|
||||
#include <openssl/cms.h>
|
||||
@@ -42,14 +51,8 @@ int main(int argc, char **argv)
|
||||
ERR_print_errors_fp(stderr);
|
||||
}
|
||||
|
||||
if (cms)
|
||||
CMS_ContentInfo_free(cms);
|
||||
|
||||
if (in)
|
||||
BIO_free(in);
|
||||
if (out)
|
||||
BIO_free(out);
|
||||
|
||||
CMS_ContentInfo_free(cms);
|
||||
BIO_free(in);
|
||||
BIO_free(out);
|
||||
return ret;
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user