From e64c2cc9f24a6e33286ab0630051a490d0608d1a Mon Sep 17 00:00:00 2001 From: roman Date: Mon, 13 May 2024 16:27:57 +0200 Subject: [PATCH] session wrapper BUGFIX account for no ssh/tls --- src/session_wrapper.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/session_wrapper.h b/src/session_wrapper.h index d5a52866..273bc2c2 100644 --- a/src/session_wrapper.h +++ b/src/session_wrapper.h @@ -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. * @@ -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. *