summaryrefslogtreecommitdiff
path: root/lib/gnutls_int.h
diff options
context:
space:
mode:
authorTim Rühsen <tim.ruehsen@gmx.de>2019-12-20 16:13:33 +0100
committerTim Rühsen <tim.ruehsen@gmx.de>2020-01-28 13:11:52 +0100
commit03a70ed76e08018a995a665f10e75a2ae2599a0e (patch)
treece86b737fa525e1c5600a0dd2a894253598350bc /lib/gnutls_int.h
parenta53814fe0fc6242f66cb44bcc1cba918bbd56b73 (diff)
downloadgnutls-03a70ed76e08018a995a665f10e75a2ae2599a0e.tar.gz
Fix "implicit conversion from type 'int' -1 to 'unsigned'"tmp-clang-ubsan+asan
Signed-off-by: Tim Rühsen <tim.ruehsen@gmx.de>
Diffstat (limited to 'lib/gnutls_int.h')
-rw-r--r--lib/gnutls_int.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gnutls_int.h b/lib/gnutls_int.h
index b48805190a..8937eb6a94 100644
--- a/lib/gnutls_int.h
+++ b/lib/gnutls_int.h
@@ -1240,7 +1240,7 @@ typedef struct {
gnutls_handshake_post_client_hello_func user_hello_func;
/* handshake hook function */
gnutls_handshake_hook_func h_hook;
- unsigned int h_type; /* the hooked type */
+ gnutls_handshake_description_t h_type; /* the hooked type */
int16_t h_post; /* whether post-generation/receive */
/* holds the selected certificate and key.