mirror of
http://git.haproxy.org/git/haproxy.git
synced 2026-02-23 13:14:40 +02:00
MINOR: quic: Move TLS related code to quic_tls.c
quic_tls_key_update() and quic_tls_rotate_keys() are QUIC TLS functions. Let's move them to their proper location: quic_tls.c.
This commit is contained in:
@@ -128,6 +128,9 @@ int quic_tls_aes_encrypt(unsigned char *out,
|
||||
const unsigned char *in, size_t inlen,
|
||||
EVP_CIPHER_CTX *ctx);
|
||||
|
||||
int quic_tls_key_update(struct quic_conn *qc);
|
||||
void quic_tls_rotate_keys(struct quic_conn *qc);
|
||||
|
||||
static inline const EVP_CIPHER *tls_aead(const SSL_CIPHER *cipher)
|
||||
{
|
||||
switch (SSL_CIPHER_get_id(cipher)) {
|
||||
|
||||
Reference in New Issue
Block a user