diff --git a/Changes b/Changes index 02aa5098a..6349a9c3e 100644 --- a/Changes +++ b/Changes @@ -1032,3 +1032,5 @@ seen. gmtime warning still there - Fixed a possible segfault in m_stats - Bug with crypt not working for /oper fixed - Fixed a bug where certain oflags were ignored for new-style config flags +- Actually enabled MD5, SHA1 methods when SSL was defined. (fix for drunk + coding) diff --git a/include/auth.h b/include/auth.h index 77b9e38f5..8279dcd34 100644 --- a/include/auth.h +++ b/include/auth.h @@ -30,10 +30,10 @@ typedef struct { #define AUTHTYPE_SHA1 3 #define AUTHTYPE_SSL_PUBKEY 4 - #ifdef USE_SSL -//#define AUTHENABLE_MD5 -//#define AUTHENABLE_SHA1 -//#define AUTHENABLE_SSL_PUBKEY +#ifdef USE_SSL +#define AUTHENABLE_MD5 +#define AUTHENABLE_SHA1 +#define AUTHENABLE_SSL_PUBKEY /* OpenSSL provides a crypt() */ #ifndef AUTHENABLE_UNIXCRYPT #define AUTHENABLE_UNIXCRYPT