Skip to content

Commit 7244ef6

Browse files
committed
Add back in csv test
1 parent b67d9f9 commit 7244ef6

File tree

2 files changed

+404
-3
lines changed

2 files changed

+404
-3
lines changed

extension/httpfs/crypto.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,11 @@ const EVP_CIPHER *AESStateSSL::GetCipher(idx_t key_len) {
5252
case EncryptionTypes::CTR: {
5353
switch (key_len) {
5454
case 16:
55-
return EVP_aes_128_cbc();
55+
return EVP_aes_128_ctr()();
5656
case 24:
57-
return EVP_aes_192_cbc();
57+
return EVP_aes_192_ctr();
5858
case 32:
59-
return EVP_aes_256_cbc();
59+
return EVP_aes_256_ctr();
6060
default:
6161
throw InternalException("Invalid AES key length");
6262
}

0 commit comments

Comments
 (0)