aboutsummaryrefslogtreecommitdiff
path: root/openssl/src/pkcs5.rs
diff options
context:
space:
mode:
Diffstat (limited to 'openssl/src/pkcs5.rs')
-rw-r--r--openssl/src/pkcs5.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/openssl/src/pkcs5.rs b/openssl/src/pkcs5.rs
index b37e4770..a619e11c 100644
--- a/openssl/src/pkcs5.rs
+++ b/openssl/src/pkcs5.rs
@@ -108,7 +108,7 @@ pub fn pbkdf2_hmac(
/// Derives a key from a password and salt using the scrypt algorithm.
///
/// Requires the `v110` feature and OpenSSL 1.1.0.
-#[cfg(all(feature = "v110", ossl110))]
+#[cfg(all(feature = "v110", ossl11x))]
pub fn scrypt(
pass: &[u8],
salt: &[u8],
@@ -546,7 +546,7 @@ mod tests {
}
#[test]
- #[cfg(all(feature = "v110", ossl110))]
+ #[cfg(all(feature = "v110", ossl11x))]
fn scrypt() {
use hex::ToHex;