mirror of
https://github.com/guanzhi/GmSSL.git
synced 2026-06-19 19:33:38 +08:00
Unify connection established print
This commit is contained in:
@@ -75,6 +75,8 @@ typedef enum {
|
||||
TLS_protocol_dtls12 = 0xfefd, // {254, 253}
|
||||
} TLS_PROTOCOL;
|
||||
|
||||
#define TLS_CONNECTION_ESTABLISHED_STRING "Connection established"
|
||||
|
||||
const char *tls_protocol_name(int proto);
|
||||
int tls_protocol_from_name(const char *name);
|
||||
|
||||
@@ -1516,6 +1518,7 @@ int tls13_recv_key_update(TLS_CONNECT *conn);
|
||||
void tls_clean_record(TLS_CONNECT *conn);
|
||||
|
||||
int tls_print_record(FILE *fp, int fmt, int ind, const char *label, TLS_CONNECT *conn);
|
||||
int tls_connect_print(FILE *fp, int fmt, int ind, const char *label, const TLS_CONNECT *conn);
|
||||
|
||||
int tls_init(TLS_CONNECT *conn, TLS_CTX *ctx);
|
||||
int tls_set_verbose(TLS_CONNECT *conn, int verbose);
|
||||
|
||||
@@ -19,7 +19,7 @@ extern "C" {
|
||||
|
||||
// Also update CPACK_PACKAGE_VERSION in CMakeLists.txt
|
||||
#define GMSSL_VERSION_NUM 30200
|
||||
#define GMSSL_VERSION_STR "GmSSL 3.2.0-dev.1022"
|
||||
#define GMSSL_VERSION_STR "GmSSL 3.2.0-dev.1023"
|
||||
|
||||
int gmssl_version_num(void);
|
||||
const char *gmssl_version_str(void);
|
||||
|
||||
Reference in New Issue
Block a user