]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
QUIC MSST: Revise SSL_get_conn_close_info API (char)
authorHugo Landau <hlandau@openssl.org>
Mon, 8 May 2023 18:46:25 +0000 (19:46 +0100)
committerHugo Landau <hlandau@openssl.org>
Fri, 12 May 2023 13:47:15 +0000 (14:47 +0100)
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/20765)

doc/man3/SSL_get_conn_close_info.pod
include/openssl/ssl.h.in

index 9fbf6fe9bcedad0a4d499d4701b041a65a116cc7..4d5da74b756d18b8f235c5d40279183f3046bc80 100644 (file)
@@ -12,8 +12,8 @@ SSL_get_conn_close_info - get information about why a QUIC connection was closed
      uint64_t error_code;
      char     *reason;
      size_t   reason_len;
-     char     is_local;
-     char     is_transport;
+     int      is_local;
+     int      is_transport;
  } SSL_CONN_CLOSE_INFO;
 
  int SSL_get_conn_close_info(SSL *ssl, SSL_CONN_CLOSE_INFO *info,
index fc326a573f8852949019d6664ccfa01c1cff97b6..7e574f37b72b15e3f51c970bad9f90f46a60d96d 100644 (file)
@@ -2343,7 +2343,7 @@ typedef struct ssl_conn_close_info_st {
     uint64_t error_code;
     char     *reason;
     size_t    reason_len;
-    char      is_local, is_transport;
+    int       is_local, is_transport;
 } SSL_CONN_CLOSE_INFO;
 
 __owur int SSL_get_conn_close_info(SSL *ssl,