pull/1692/merge
Tatsuhiro Tsujikawa 2021-10-30 18:25:29 +09:00
parent 869aae8264
commit c197373db7
1 changed files with 1 additions and 3 deletions

View File

@ -69,10 +69,8 @@ void ARC4Encryptor::init(const unsigned char* key, size_t keyLength)
ctx_ = EVP_CIPHER_CTX_new(); ctx_ = EVP_CIPHER_CTX_new();
unsigned int keylen = keyLength;
OSSL_PARAM params[] = { OSSL_PARAM params[] = {
OSSL_PARAM_construct_uint(OSSL_CIPHER_PARAM_KEYLEN, &keylen), OSSL_PARAM_construct_size_t(OSSL_CIPHER_PARAM_KEYLEN, &keyLength),
OSSL_PARAM_construct_end(), OSSL_PARAM_construct_end(),
}; };