diff options
author | 2020-11-11 18:14:12 +0000 | |
---|---|---|
committer | 2020-11-11 18:14:12 +0000 | |
commit | b16a1c426482534d93f74395e288470627af3e01 (patch) | |
tree | 6ec5b2a0aab16914a5a7952ff8e25c8ecb8e04c3 /lib/libssl/ssl_locl.h | |
parent | remove reference to non-existent pidfile; (diff) | |
download | wireguard-openbsd-b16a1c426482534d93f74395e288470627af3e01.tar.xz wireguard-openbsd-b16a1c426482534d93f74395e288470627af3e01.zip |
Use size_t for key_block_len.
This allows us to remove a check and will make future changes simpler. Use
suitable names for tls1_generate_key_block() arguments while here.
ok inoguchi@ tb@
Diffstat (limited to 'lib/libssl/ssl_locl.h')
-rw-r--r-- | lib/libssl/ssl_locl.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libssl/ssl_locl.h b/lib/libssl/ssl_locl.h index 9c8310b83cf..46a1ad4884c 100644 --- a/lib/libssl/ssl_locl.h +++ b/lib/libssl/ssl_locl.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ssl_locl.h,v 1.306 2020/10/14 16:57:33 jsing Exp $ */ +/* $OpenBSD: ssl_locl.h,v 1.307 2020/11/11 18:14:12 jsing Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -416,7 +416,7 @@ typedef struct ssl_handshake_st { const SSL_CIPHER *new_cipher; /* key_block is the record-layer key block for TLS 1.2 and earlier. */ - int key_block_len; + size_t key_block_len; unsigned char *key_block; /* Extensions seen in this handshake. */ |