char *HAS;
char *rspauth;
char *b64;
+
if ((HAS=dig_hashresp(resp,"",hash))==(char *)0) {
(void) rou_alert(0,"%s Unable to get the hash rspauth (Bug!)",OPEP);
break;
while (proceed==true) {
switch (phase) {
case 0 : //computing A1 from data-base contents
- {
- MD5TYP *AX;
- char *HAX;
- char seq[300];
-
- (void) snprintf(seq,sizeof(seq),"%s:%s:%s",
- "webmaster@example.com",
- REALM,
- "webmaster");
- AX=dig_hashmd5((unsigned char *)seq,strlen(seq));
- HAX=cnv_tohexa((char *)AX,sizeof(MD5TYP));
- (void) rou_alert(0,"%s JMPDBG CAL-HASH=<%s>",OPEP,HAX);
- }
- (void) rou_alert(0,"%s JMPDBG POS-HASH=<%s>",OPEP,hash);
A1=dig_get_plain_md5(hash);
if (A1==(MD5TYP *)0) {
(void) rou_alert(0,"%s Unable to convert hash=<%s>",OPEP,hash);
#define CRYPTED MEDIUMBLOB
#endif
+//defining the password trigger according database type
+//Caution this REALM value MUST be the same as defined
+//in mailleur.conf
+#define REALM 'mailleur-email'
+
/********************************************************/
/********************************************************/
/* */
GRANT SELECT,INSERT,UPDATE,DELETE ON emails TO mailapache;
GRANT SELECT ON emails TO maildove;
-//defining the password trigger according database type
-#define REALM 'mailleur-email'
#ifdef POSTGRESQL
CREATE FUNCTION updpass()