Skip to content

Commit

Permalink
use const
Browse files Browse the repository at this point in the history
  • Loading branch information
smittals2 committed Jan 6, 2025
1 parent 72603cc commit eb28574
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ssl/ssl_lib.cc
Original file line number Diff line number Diff line change
Expand Up @@ -586,8 +586,8 @@ SSL_CTX *SSL_CTX_new(const SSL_METHOD *method) {
return nullptr;
}

bool has_aes_hw = EVP_has_aes_hardware();
char *cipher_rule;
const bool has_aes_hw = EVP_has_aes_hardware();
const char *cipher_rule;
if (has_aes_hw) {
cipher_rule = TLS13_DEFAULT_CIPHER_LIST_AES_HW;
} else {
Expand Down

0 comments on commit eb28574

Please sign in to comment.