mirror of
https://github.com/openssl/openssl.git
synced 2024-11-21 01:15:20 +08:00
Fix no-chacha and no-poly1305
Reviewed-by: Tim Hudson <tjh@openssl.org> (Merged from https://github.com/openssl/openssl/pull/4251)
This commit is contained in:
parent
1b3011abb3
commit
0139ce7c92
@ -202,15 +202,19 @@ static int test_bio_enc_aes_256_ofb(int idx)
|
||||
return do_test_bio_cipher(EVP_aes_256_ofb(), idx);
|
||||
}
|
||||
|
||||
# ifndef OPENSSL_NO_CHACHA
|
||||
static int test_bio_enc_chacha20(int idx)
|
||||
{
|
||||
return do_test_bio_cipher(EVP_chacha20(), idx);
|
||||
}
|
||||
|
||||
# ifndef OPENSSL_NO_POLY1305
|
||||
static int test_bio_enc_chacha20_poly1305(int idx)
|
||||
{
|
||||
return do_test_bio_cipher(EVP_chacha20_poly1305(), idx);
|
||||
}
|
||||
# endif
|
||||
# endif
|
||||
|
||||
int setup_tests(void)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user