diff options
author | tb <> | 2022-07-20 13:43:33 +0000 |
---|---|---|
committer | tb <> | 2022-07-20 13:43:33 +0000 |
commit | 080a39ab960b9c2cb0fe8a86d83c309d1c31ff57 (patch) | |
tree | b558db397b81b67c5252686e8c44ed1da172bfaa /src | |
parent | dbae5c40b8895f3b49634f79c8ff8fb9e7ae7064 (diff) | |
download | openbsd-080a39ab960b9c2cb0fe8a86d83c309d1c31ff57.tar.gz openbsd-080a39ab960b9c2cb0fe8a86d83c309d1c31ff57.tar.bz2 openbsd-080a39ab960b9c2cb0fe8a86d83c309d1c31ff57.zip |
Change various ALPN related internal struct members
Change alpn_client_proto_list and alpn_selected from unsigned char *
to uint8_t and change alpn_client_proto_list_len to be a size_t instead
of an unsigned int.
ok jsing
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/libssl/ssl_locl.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/lib/libssl/ssl_locl.h b/src/lib/libssl/ssl_locl.h index a1b36e549a..34fb5815a9 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.414 2022/07/17 14:49:01 jsing Exp $ */ | 1 | /* $OpenBSD: ssl_locl.h,v 1.415 2022/07/20 13:43:33 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 | * |
@@ -863,8 +863,8 @@ typedef struct ssl_ctx_internal_st { | |||
863 | void *alpn_select_cb_arg; | 863 | void *alpn_select_cb_arg; |
864 | 864 | ||
865 | /* Client list of supported protocols in wire format. */ | 865 | /* Client list of supported protocols in wire format. */ |
866 | unsigned char *alpn_client_proto_list; | 866 | uint8_t *alpn_client_proto_list; |
867 | unsigned int alpn_client_proto_list_len; | 867 | size_t alpn_client_proto_list_len; |
868 | 868 | ||
869 | size_t tlsext_ecpointformatlist_length; | 869 | size_t tlsext_ecpointformatlist_length; |
870 | uint8_t *tlsext_ecpointformatlist; /* our list */ | 870 | uint8_t *tlsext_ecpointformatlist; /* our list */ |
@@ -929,8 +929,8 @@ typedef struct ssl_internal_st { | |||
929 | unsigned long mode; /* API behaviour */ | 929 | unsigned long mode; /* API behaviour */ |
930 | 930 | ||
931 | /* Client list of supported protocols in wire format. */ | 931 | /* Client list of supported protocols in wire format. */ |
932 | unsigned char *alpn_client_proto_list; | 932 | uint8_t *alpn_client_proto_list; |
933 | unsigned int alpn_client_proto_list_len; | 933 | size_t alpn_client_proto_list_len; |
934 | 934 | ||
935 | /* QUIC transport params we will send */ | 935 | /* QUIC transport params we will send */ |
936 | uint8_t *quic_transport_params; | 936 | uint8_t *quic_transport_params; |
@@ -1221,7 +1221,7 @@ typedef struct ssl3_state_st { | |||
1221 | * protocol that the server selected once the ServerHello has been | 1221 | * protocol that the server selected once the ServerHello has been |
1222 | * processed. | 1222 | * processed. |
1223 | */ | 1223 | */ |
1224 | unsigned char *alpn_selected; | 1224 | uint8_t *alpn_selected; |
1225 | size_t alpn_selected_len; | 1225 | size_t alpn_selected_len; |
1226 | 1226 | ||
1227 | /* Contains the QUIC transport params received from our peer. */ | 1227 | /* Contains the QUIC transport params received from our peer. */ |