Merge pull request #2458 from bmiklautz/cert_handling
crypto: use PEM as certificate store file format
This commit is contained in:
commit
51fcbb5341
@ -523,7 +523,7 @@ BOOL x509_verify_certificate(CryptoCert cert, char* certificate_store_path)
|
|||||||
|
|
||||||
if (certificate_store_path != NULL)
|
if (certificate_store_path != NULL)
|
||||||
{
|
{
|
||||||
X509_LOOKUP_add_dir(lookup, certificate_store_path, X509_FILETYPE_ASN1);
|
X509_LOOKUP_add_dir(lookup, certificate_store_path, X509_FILETYPE_PEM);
|
||||||
}
|
}
|
||||||
|
|
||||||
csc = X509_STORE_CTX_new();
|
csc = X509_STORE_CTX_new();
|
||||||
|
Loading…
Reference in New Issue
Block a user