1
0
mirror of https://github.com/anope/anope.git synced 2026-06-12 17:04:47 +02:00

BUILD : 1.7.0 (20) BUGS : none NOTES : Fixed MySQL double encryption if using MD5.

git-svn-id: svn://svn.anope.org/anope/trunk@20 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@13 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b
2004-03-31 21:07:44 +00:00
parent bcbb3cc9b2
commit a69d0a19b0
5 changed files with 16 additions and 3 deletions
+1
View File
@@ -1,6 +1,7 @@
Anope Version 1.7.0
--------------------
Provided by Anope Dev. <dev@anope.org>
2004/03/31 Fixed MySQL double encryption if using MD5.
2004/03/31 Implemented MySQL Phase2 (see docs/MYSQL file)
2004/03/31 Modules can now add Commands/Messages from outside of AnopeInit
2004/03/31 Fixed a bug with recersive module callbacks.
+1 -2
View File
@@ -8,10 +8,9 @@
* Based on the original code of Epona by Lara.
* Based on the original code of Services by Andy Church.
*
* $Id: encrypt.h,v 1.4 2003/07/20 01:15:49 dane Exp $
* $Id$
*
*/
extern int encrypt(const char *src, int len, char *dest, int size);
extern int encrypt_in_place(char *buf, int size);
extern int check_password(const char *plaintext, const char *password);
+4
View File
@@ -863,5 +863,9 @@ E void db_mysql_load_exceptions(void);
E void db_mysql_load_news(void);
#endif
#ifdef USE_ENCRYPTION
extern int encrypt_in_place(char *buf, int size);
#endif
#endif /* EXTERN_H */
+5
View File
@@ -208,6 +208,10 @@ void db_mysql_save_ns_req(NickRequest * nr)
char *db_mysql_secure(char *pass)
{
#ifdef USE_ENCRYPTION
/* If we use the builtin encryption don't double encrypt! */
return sstrdup(pass);
#else
char epass[BUFSIZE];
if (!pass) {
@@ -226,6 +230,7 @@ char *db_mysql_secure(char *pass)
}
return sstrdup(epass);
#endif
}
+5 -1
View File
@@ -8,11 +8,15 @@
VERSION_MAJOR="1"
VERSION_MINOR="7"
VERSION_PATCH="0"
VERSION_BUILD="19"
VERSION_BUILD="20"
VERSION_EXTRA=""
# $Log$
#
# BUILD : 1.7.0 (20)
# BUGS : none
# NOTES : Fixed MySQL double encryption if using MD5.
#
# BUILD : 1.7.0 (19)
# BUGS : none
# NOTES : Refixed compile error if no RDB :(