Skip to content

Commit

Permalink
fixup! decoder: return certificates when decoding pem
Browse files Browse the repository at this point in the history
  • Loading branch information
Florian Wernli committed Feb 16, 2024
1 parent 762e640 commit a838f95
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/decoder.c
Original file line number Diff line number Diff line change
Expand Up @@ -107,10 +107,9 @@ static int load_obj(struct desired_data_type_cbdata *cbdata,

p11prov_set_error_mark(ctx->provctx);

p11prov_store_direct_fetch(ctx->provctx, uri, filter_for_desired_data_type,
cbdata, pw_cb, pw_cbarg);

ret = RET_OSSL_STOP_DECODING;
ret = p11prov_store_direct_fetch(ctx->provctx, uri,
filter_for_desired_data_type, cbdata,
pw_cb, pw_cbarg);

p11prov_pop_error_to_mark(ctx->provctx);
p11prov_clear_last_error_mark(ctx->provctx);
Expand Down

0 comments on commit a838f95

Please sign in to comment.