Fix for s/mime verification issues with some openssl versions
This commit is contained in:
parent
1d705dc00b
commit
193720cfbb
|
@ -52,6 +52,8 @@
|
||||||
success = NO;
|
success = NO;
|
||||||
|
|
||||||
store = X509_STORE_new ();
|
store = X509_STORE_new ();
|
||||||
|
OpenSSL_add_all_algorithms ();
|
||||||
|
|
||||||
if (store)
|
if (store)
|
||||||
{
|
{
|
||||||
lookup = X509_STORE_add_lookup (store, X509_LOOKUP_file());
|
lookup = X509_STORE_add_lookup (store, X509_LOOKUP_file());
|
||||||
|
@ -92,8 +94,7 @@
|
||||||
PKCS7 *p7;
|
PKCS7 *p7;
|
||||||
int err, i;
|
int err, i;
|
||||||
|
|
||||||
|
memset(sslError, 0, 1024);
|
||||||
*sslError = 0;
|
|
||||||
|
|
||||||
ERR_clear_error();
|
ERR_clear_error();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue