fix
This commit is contained in:
		| @@ -35,6 +35,8 @@ inline constexpr const std::uint32_t encryption_header_size{ | ||||
|         crypto_aead_xchacha20poly1305_IETF_ABYTES, | ||||
| }; | ||||
|  | ||||
| [[nodiscard]] auto generate_key(std::string_view encryption_token) -> key_type; | ||||
|  | ||||
| #if defined(PROJECT_ENABLE_BOOST) | ||||
| [[nodiscard]] auto decrypt_data( | ||||
|     std::string_view data, std::string_view password, | ||||
| @@ -152,8 +154,6 @@ encrypt_data(const std::array<unsigned char, | ||||
|                        buf.size(), res); | ||||
| } | ||||
| #endif // defined(PROJECT_ENABLE_BOOST) | ||||
|  | ||||
| [[nodiscard]] auto generate_key(std::string_view encryption_token) -> key_type; | ||||
| } // namespace repertory::utils::encryption | ||||
|  | ||||
| #endif // defined(PROJECT_ENABLE_LIBSODIUM) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user