mirror of
https://github.com/guanzhi/GmSSL.git
synced 2026-06-30 01:33:39 +08:00
Update TLS1.2
This commit is contained in:
10
src/tls13.c
10
src/tls13.c
@@ -372,18 +372,8 @@ int tls13_derive_secret(const uint8_t secret[32], const char *label, const DIGES
|
||||
return 1;
|
||||
}
|
||||
|
||||
int tls_handshake_digest_print(FILE *fp, int fmt, int ind, const char *label, const DIGEST_CTX *dgst_ctx)
|
||||
{
|
||||
DIGEST_CTX tmp_ctx;
|
||||
|
||||
tmp_ctx = *dgst_ctx;
|
||||
|
||||
//digest_finish(&tmp_ctx, dgst, &dgstlen);
|
||||
//format_print(fp, fmt, ind, "Transcript-Hash ");
|
||||
//format_bytes(fp, 0, 0, label, dgst, dgstlen);
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user