diff --git a/src/libsodium/crypto_pwhash/scryptsalsa208sha256/crypto_scrypt-common.c b/src/libsodium/crypto_pwhash/scryptsalsa208sha256/crypto_scrypt-common.c index 39aa4916..89a5bc83 100644 --- a/src/libsodium/crypto_pwhash/scryptsalsa208sha256/crypto_scrypt-common.c +++ b/src/libsodium/crypto_pwhash/scryptsalsa208sha256/crypto_scrypt-common.c @@ -234,9 +234,7 @@ crypto_pwhash_scryptsalsa208sha256_ll(const uint8_t *passwd, size_t passwdlen, if (escrypt_init_local(&local)) { return -1; /* LCOV_EXCL_LINE */ } -#if defined(HAVE_EMMINTRIN_H) || \ - (defined(_MSC_VER) && \ - (defined(_M_X64) || defined(_M_AMD64) || defined(_M_IX86))) +#if defined(HAVE_EMMINTRIN_H) escrypt_kdf = sodium_runtime_has_sse2() ? escrypt_kdf_sse : escrypt_kdf_nosse; #else