diff options
author | Tomas Mraz <tomas@openssl.org> | 2023-08-24 10:34:53 +0200 |
---|---|---|
committer | Hugo Landau <hlandau@openssl.org> | 2023-08-25 12:04:00 +0100 |
commit | eb1eaa9af4c241baea00cb16557f41811ed9e097 (patch) | |
tree | f2fa9859946cd0f6b610f1602f14e8b091f6e616 /ssl/d1_msg.c | |
parent | 86051eb2bb86e3a89e69abfb6419409aa701bcf7 (diff) |
Always use uint8_t for TLS record type
Reviewed-by: Hugo Landau <hlandau@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/21823)
Diffstat (limited to 'ssl/d1_msg.c')
-rw-r--r-- | ssl/d1_msg.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ssl/d1_msg.c b/ssl/d1_msg.c index eb84ed6470..23cfa150fc 100644 --- a/ssl/d1_msg.c +++ b/ssl/d1_msg.c @@ -9,8 +9,8 @@ #include "ssl_local.h" -int dtls1_write_app_data_bytes(SSL *s, int type, const void *buf_, size_t len, - size_t *written) +int dtls1_write_app_data_bytes(SSL *s, uint8_t type, const void *buf_, + size_t len, size_t *written) { int i; SSL_CONNECTION *sc = SSL_CONNECTION_FROM_SSL_ONLY(s); |