From 02355546ff4a76a10049f9c7f03d0b778b247dba Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Mon, 11 Mar 2024 19:37:11 +0000 Subject: Reject registrations and password changes if password encryption fails. --- include/anope.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/anope.h b/include/anope.h index c4a2079aa..9145b7337 100644 --- a/include/anope.h +++ b/include/anope.h @@ -470,7 +470,7 @@ namespace Anope * @param src The source string to encrypt * @param dest The destination where the encrypted string is placed */ - extern CoreExport void Encrypt(const Anope::string &src, Anope::string &dest); + extern CoreExport bool Encrypt(const Anope::string &src, Anope::string &dest); /** Hashes a buffer with SipHash-2-4 * @param src The start of the buffer to hash -- cgit