Skip to content

Commit

Permalink
session wrapper BUGFIX account for no ssh/tls
Browse files Browse the repository at this point in the history
  • Loading branch information
roman committed May 13, 2024
1 parent 999eb95 commit e64c2cc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/session_wrapper.h
Original file line number Diff line number Diff line change
Expand Up @@ -281,6 +281,8 @@ void nc_tls_sans_destroy_wrap(void *sans);
*/
int nc_tls_get_num_sans_wrap(void *sans);

#ifdef NC_ENABLED_SSH_TLS

/**
* @brief Get the SAN value and type in the context of CTN.
*
Expand All @@ -292,6 +294,8 @@ int nc_tls_get_num_sans_wrap(void *sans);
*/
int nc_tls_get_san_value_type_wrap(void *sans, int idx, char **san_value, NC_TLS_CTN_MAPTYPE *san_type);

#endif

/**
* @brief Compare two certificates.
*
Expand Down

0 comments on commit e64c2cc

Please sign in to comment.