diff --git a/uppsrc/Core/SSL/AES.cpp b/uppsrc/Core/SSL/AES.cpp index 2ac99e2e5..49e90c3f7 100644 --- a/uppsrc/Core/SSL/AES.cpp +++ b/uppsrc/Core/SSL/AES.cpp @@ -1,5 +1,7 @@ #include "SSL.h" +#ifdef EVP_PKEY_KEYMGMT + // Encrypts a string using AES-256-GCM with PBKDF2 key derivation // Format of encrypted data: "GCMv1__" + salt(16) + iv(12) + ciphertext + tag(16) @@ -331,4 +333,6 @@ bool AES256Decrypt(Stream& in, const String& password, Stream& out, Gate