diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/openssl/ssl.h.in | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/openssl/ssl.h.in b/include/openssl/ssl.h.in index f0a00583ec..5df101ff87 100644 --- a/include/openssl/ssl.h.in +++ b/include/openssl/ssl.h.in @@ -2343,11 +2343,14 @@ __owur int SSL_get_stream_write_state(SSL *ssl); __owur int SSL_get_stream_read_error_code(SSL *ssl, uint64_t *app_error_code); __owur int SSL_get_stream_write_error_code(SSL *ssl, uint64_t *app_error_code); +#define SSL_CONN_CLOSE_FLAG_LOCAL (1U << 0) +#define SSL_CONN_CLOSE_FLAG_TRANSPORT (1U << 1) + typedef struct ssl_conn_close_info_st { uint64_t error_code; const char *reason; size_t reason_len; - int is_local, is_transport; + uint32_t flags; } SSL_CONN_CLOSE_INFO; __owur int SSL_get_conn_close_info(SSL *ssl, |