mirror of
https://github.com/guanzhi/GmSSL.git
synced 2026-06-27 15:43:42 +08:00
Update TLS print
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user