Skip to content

Commit

Permalink
Fix declarations
Browse files Browse the repository at this point in the history
  • Loading branch information
huitema committed Sep 7, 2023
1 parent 62736e7 commit 4510592
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions include/picotls/ptls_mbedtls.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,11 @@ extern ptls_cipher_algorithm_t ptls_mbedtls_aes128ecb;
extern ptls_cipher_algorithm_t ptls_mbedtls_aes256ecb;
extern ptls_cipher_algorithm_t ptls_mbedtls_aes128ctr;
extern ptls_cipher_algorithm_t ptls_mbedtls_aes256ctr;
extern ptls_cipher_algorithm_t ptls_minicrypto_chacha20;

extern ptls_aead_algorithm_t ptls_mbedtls_aes128gcm;
extern ptls_aead_algorithm_t ptls_mbedtls_aes256gcm;
extern ptls_aead_algorithm_t ptls_mbedtls_chacha20poly1305;

#ifdef __cplusplus
}
Expand Down
2 changes: 1 addition & 1 deletion lib/ptls_mbedtls.c
Original file line number Diff line number Diff line change
Expand Up @@ -750,7 +750,7 @@ ptls_aead_algorithm_t ptls_mbedtls_aes256gcm = {
ptls_mbedtls_aead_setup_crypto
};

ptls_aead_algorithm_t ptls_minicrypto_chacha20poly1305 = {
ptls_aead_algorithm_t ptls_mbedtls_chacha20poly1305 = {
"CHACHA20-POLY1305",
PTLS_CHACHA20POLY1305_CONFIDENTIALITY_LIMIT,
PTLS_CHACHA20POLY1305_INTEGRITY_LIMIT,
Expand Down

0 comments on commit 4510592

Please sign in to comment.