Update TLS print

This commit is contained in:
Zhi Guan
2026-06-20 13:49:07 +08:00
parent f84606876a
commit 56c9904fdd
13 changed files with 60 additions and 39 deletions

View File

@@ -811,7 +811,7 @@ enum {
TLS_verbose_print_key = 5,
};
#define TLS_MAX_CIPHER_SUITES_COUNT 64
#define TLS_MAX_CIPHER_SUITES 16
typedef struct {
@@ -836,7 +836,7 @@ typedef struct {
int protocol;
int cipher_suites[TLS_MAX_CIPHER_SUITES_COUNT];
int cipher_suites[TLS_MAX_CIPHER_SUITES];
size_t cipher_suites_cnt;
uint8_t cert_chains[8192];
@@ -995,6 +995,9 @@ extern const size_t tls13_signature_algorithms_cnt;
extern const int tls13_cipher_suites[];
extern const size_t tls13_cipher_suites_cnt;
extern const int tls_cipher_suites[];
extern const size_t tls_cipher_suites_cnt;
int tls_ctx_init(TLS_CTX *ctx, int protocol, int is_client);

View File

@@ -18,7 +18,7 @@ extern "C" {
#define GMSSL_VERSION_NUM 30200
#define GMSSL_VERSION_STR "GmSSL 3.2.0-dev.1117"
#define GMSSL_VERSION_STR "GmSSL 3.2.0-dev.1118"
int gmssl_version_num(void);
const char *gmssl_version_str(void);