Latest update.
This commit is contained in:
+5
-1
@@ -18,6 +18,10 @@
|
||||
#include <openssl/x509v3.h>
|
||||
#include <openssl/pem.h>
|
||||
|
||||
DEFINE_STACK_OF(X509)
|
||||
DEFINE_STACK_OF(X509_CRL)
|
||||
DEFINE_STACK_OF_STRING()
|
||||
|
||||
static int cb(int ok, X509_STORE_CTX *ctx);
|
||||
static int check(X509_STORE *ctx, const char *file,
|
||||
STACK_OF(X509) *uchain, STACK_OF(X509) *tchain,
|
||||
@@ -252,7 +256,7 @@ static int check(X509_STORE *ctx, const char *file,
|
||||
STACK_OF(X509) *chain = NULL;
|
||||
int num_untrusted;
|
||||
|
||||
x = load_cert(file, FORMAT_PEM, "certificate file");
|
||||
x = load_cert(file, FORMAT_UNDEF, "certificate file");
|
||||
if (x == NULL)
|
||||
goto end;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user