diff options
| author | tb <> | 2022-07-20 13:43:33 +0000 |
|---|---|---|
| committer | tb <> | 2022-07-20 13:43:33 +0000 |
| commit | 4a9e3a6050354076d17c012b02a06e5ff6f9e3fd (patch) | |
| tree | b558db397b81b67c5252686e8c44ed1da172bfaa /src | |
| parent | c02e9022095ee758d22525cc2a119b410ca01322 (diff) | |
| download | openbsd-4a9e3a6050354076d17c012b02a06e5ff6f9e3fd.tar.gz openbsd-4a9e3a6050354076d17c012b02a06e5ff6f9e3fd.tar.bz2 openbsd-4a9e3a6050354076d17c012b02a06e5ff6f9e3fd.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 '')
| -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. */ |
