mirror of
https://github.com/guanzhi/GmSSL.git
synced 2026-08-09 07:23:56 +08:00
Update TLS 1.3
This commit is contained in:
@@ -419,7 +419,7 @@ int tls_signature_algorithms_print(FILE *fp, int fmt, int ind, const uint8_t *d,
|
||||
}
|
||||
|
||||
|
||||
int tls_enable_signature_algorithms_cert(TLS_CONNECT *conn)
|
||||
int tls_enable_signature_algorithms_cert(TLS_CONNECT *conn, int enable)
|
||||
{
|
||||
if (!conn) {
|
||||
error_print();
|
||||
@@ -429,7 +429,7 @@ int tls_enable_signature_algorithms_cert(TLS_CONNECT *conn)
|
||||
error_print();
|
||||
return -1;
|
||||
}
|
||||
conn->signature_algorithms_cert = 1;
|
||||
conn->signature_algorithms_cert = enable ? 1 : 0;
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user