Fix for s/mime verification issues with some openssl versions

pull/13/head
Ludovic Marcotte 2013-09-16 10:59:45 -04:00
parent 1d705dc00b
commit 193720cfbb
1 changed files with 3 additions and 2 deletions

View File

@ -52,6 +52,8 @@
success = NO;
store = X509_STORE_new ();
OpenSSL_add_all_algorithms ();
if (store)
{
lookup = X509_STORE_add_lookup (store, X509_LOOKUP_file());
@ -92,8 +94,7 @@
PKCS7 *p7;
int err, i;
*sslError = 0;
memset(sslError, 0, 1024);
ERR_clear_error();