Add a cast to SSL_SESSION_get_id() to indicate that session_id_length
authortb <tb@openbsd.org>
Tue, 7 Jun 2022 17:31:36 +0000 (17:31 +0000)
committertb <tb@openbsd.org>
Tue, 7 Jun 2022 17:31:36 +0000 (17:31 +0000)
commit7c24ca9e7f459300ae2b49a59dbd5dbd1ab79a36
tree0d8f57cc56bba411b38c6dd9e93f715b7a4d4037
parenta61a9a370bea3e53a2ba4288165d38c196ba102b
Add a cast to SSL_SESSION_get_id() to indicate that session_id_length
is deliberately reduced to an unsigned int. Since the session_id is at
most 32 bytes, this is not a concern.

ok jsing
lib/libssl/ssl_sess.c