Skip to content

Commit

Permalink
Another typo to fix
Browse files Browse the repository at this point in the history
  • Loading branch information
huitema committed Sep 7, 2023
1 parent 0ad6f7f commit 62736e7
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion t/ptls_mbedtls.c
Original file line number Diff line number Diff line change
Expand Up @@ -330,6 +330,14 @@ static void test_aes256ctr(void)
ok(!!"success");
}

static void test_chacha20(void)
{
if (test_cipher(&ptls_mbedtls_chacha20, &ptls_minicrypto_chacha20) != 0) {
ok(!"fail");
}
ok(!!"success");
}

static void test_aes128gcm_sha256(void)
{
if (test_aead(&ptls_mbedtls_aes128gcm, &ptls_mbedtls_sha256, &ptls_minicrypto_aes128gcm, &ptls_minicrypto_sha256) != 0) {
Expand All @@ -350,7 +358,7 @@ static void test_aes256gcm_sha384(void)

static void test_chacha20poly1305_sha256(void)
{
if (test_aead(&ptls_minicrypto_chacha20poly1305, &ptls_mbedtls_sha256, &ptls_minicrypto_chacha20poly1305, &ptls_minicrypto_sha256) != 0) {
if (test_aead(&ptls_mbedtls_chacha20poly1305, &ptls_mbedtls_sha256, &ptls_minicrypto_chacha20poly1305, &ptls_minicrypto_sha256) != 0) {
ok(!"fail");
}
ok(!!"success");
Expand Down

0 comments on commit 62736e7

Please sign in to comment.