Skip to content

Commit

Permalink
X509_LOOKUP_add_store_ex(): fix bug not handling file: URI prefix as …
Browse files Browse the repository at this point in the history
…documented for s_client
  • Loading branch information
DDvO committed Oct 14, 2024
1 parent 84f2cf6 commit 931d6a5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crypto/x509/by_store.c
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ static int by_store_ctrl_ex(X509_LOOKUP *ctx, int cmd, const char *argp,
switch (cmd) {
case X509_L_ADD_STORE:
if (argp != NULL) {
CHECK_AND_SKIP_CASE_PREFIX(argp, "file:");
STACK_OF(OPENSSL_STRING) *uris = X509_LOOKUP_get_method_data(ctx);
char *data = OPENSSL_strdup(argp);

Expand Down

0 comments on commit 931d6a5

Please sign in to comment.