Skip to content

Commit

Permalink
session wrapper UPDATE init out params
Browse files Browse the repository at this point in the history
  • Loading branch information
roman authored and michalvasko committed Jul 4, 2024
1 parent 790c736 commit 50e3e56
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/session_mbedtls.c
Original file line number Diff line number Diff line change
Expand Up @@ -1626,6 +1626,9 @@ nc_server_tls_get_crl_distpoint_uris_wrap(void *leaf_cert, void *cert_store, cha

NC_CHECK_ARG_RET(NULL, cert_store, uris, uri_count, 1);

*uris = NULL;
*uri_count = 0;

/* get the number of certs in the store */
cert = cert_store;
cert_count = 0;
Expand Down
3 changes: 3 additions & 0 deletions src/session_openssl.c
Original file line number Diff line number Diff line change
Expand Up @@ -1295,6 +1295,9 @@ nc_server_tls_get_crl_distpoint_uris_wrap(void *leaf_cert, void *cert_store, cha
ASN1_STRING *asn_string_uri;
void *tmp;

*uris = NULL;
*uri_count = 0;

NC_CHECK_ARG_RET(NULL, cert_store, uris, uri_count, 1);

/* treat all entries in the cert_store as X509_OBJECTs */
Expand Down

0 comments on commit 50e3e56

Please sign in to comment.