summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2020-12-14 15:20:32 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2020-12-14 15:20:32 +0000
commit25763ae7f15986c96170e482a799e575d1584a0b (patch)
tree46efedc430d9667e421505c0315e42a1574f527d /lib
parent5e69820153fd294a84475d8a4eab72fde59d2e59 (diff)
Switch finish{,_peer}_md_len from int to size_t
This is the natural type for these and it simplifies an upcoming commit. The few consumers have been carefully checked to be fine with this. ok inoguchi jsing
Diffstat (limited to 'lib')
-rw-r--r--lib/libssl/ssl_locl.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libssl/ssl_locl.h b/lib/libssl/ssl_locl.h
index 19d883e3b0e..80a7d95be58 100644
--- a/lib/libssl/ssl_locl.h
+++ b/lib/libssl/ssl_locl.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ssl_locl.h,v 1.308 2020/12/01 07:46:02 tb Exp $ */
+/* $OpenBSD: ssl_locl.h,v 1.309 2020/12/14 15:20:31 tb Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
@@ -897,9 +897,9 @@ typedef struct ssl3_state_internal_st {
/* actually only need to be 16+20 for SSLv3 and 12 for TLS */
unsigned char finish_md[EVP_MAX_MD_SIZE*2];
- int finish_md_len;
+ size_t finish_md_len;
unsigned char peer_finish_md[EVP_MAX_MD_SIZE*2];
- int peer_finish_md_len;
+ size_t peer_finish_md_len;
unsigned long message_size;
int message_type;