summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authortb <>2022-06-07 17:42:35 +0000
committertb <>2022-06-07 17:42:35 +0000
commit83952f0892e547823508daa0dd480b99895b9fc8 (patch)
treec46c65585aea2cc27c19607695df26e648f4a086 /src/lib
parentf9adec13b2d7f472486707fe62a0e82fed187c26 (diff)
downloadopenbsd-83952f0892e547823508daa0dd480b99895b9fc8.tar.gz
openbsd-83952f0892e547823508daa0dd480b99895b9fc8.tar.bz2
openbsd-83952f0892e547823508daa0dd480b99895b9fc8.zip
Switch SSL_SESSION's session_id_length to a size_t
ok jsing
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/libssl/ssl_locl.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libssl/ssl_locl.h b/src/lib/libssl/ssl_locl.h
index 72565b356a..e311661e2d 100644
--- a/src/lib/libssl/ssl_locl.h
+++ b/src/lib/libssl/ssl_locl.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: ssl_locl.h,v 1.392 2022/06/07 17:18:21 tb Exp $ */ 1/* $OpenBSD: ssl_locl.h,v 1.393 2022/06/07 17:42:35 tb Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -467,7 +467,7 @@ struct ssl_session_st {
467 unsigned char master_key[SSL_MAX_MASTER_KEY_LENGTH]; 467 unsigned char master_key[SSL_MAX_MASTER_KEY_LENGTH];
468 468
469 /* session_id - valid? */ 469 /* session_id - valid? */
470 unsigned int session_id_length; 470 size_t session_id_length;
471 unsigned char session_id[SSL_MAX_SSL_SESSION_ID_LENGTH]; 471 unsigned char session_id[SSL_MAX_SSL_SESSION_ID_LENGTH];
472 472
473 /* this is used to determine whether the session is being reused in 473 /* this is used to determine whether the session is being reused in