]> code.citadel.org Git - citadel.git/blobdiff - citadel/serv_pas2.c
* Renamed "dynloader" to "serv_extensions" globally. We don't want people
[citadel.git] / citadel / serv_pas2.c
index 592f661998dc44265acff1f3466b721980568cf4..bae7fa347d19ef810df7e35e6a1540aac2eb446c 100644 (file)
@@ -26,7 +26,7 @@
 #include "server.h"
 #include "citserver.h"
 #include "support.h"
-#include "dynloader.h"
+#include "serv_extensions.h"
 #include "user_ops.h"
 #include "md5.h"
 #include "tools.h"
@@ -67,7 +67,7 @@ void cmd_pas2(char *argbuf)
                return;
        }
        
-       make_apop_string(CC->usersupp.password, CC->cs_nonce, hexstring);
+       make_apop_string(CC->usersupp.password, CC->cs_nonce, hexstring, sizeof hexstring);
        
        if (!strcmp(hexstring, pw))
        {
@@ -85,7 +85,7 @@ void cmd_pas2(char *argbuf)
 
 
 
-char *Dynamic_Module_Init(void)
+char *serv_pas2_init(void)
 {
         CtdlRegisterProtoHook(cmd_pas2, "PAS2", "APOP-based login");
         return "$Id$";