Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 53117
Collapse All | Expand All

(-)vchkpw.c (-1 / +2 lines)
Lines 418-424 void login_virtual_user() Link Here
418
  /* Check CRAM-MD5 auth */
418
  /* Check CRAM-MD5 auth */
419
  if(ConnType == SMTP_CONN) {
419
  if(ConnType == SMTP_CONN) {
420
	  /* printf("vchkpw: smtp auth\n"); */
420
	  /* printf("vchkpw: smtp auth\n"); */
421
    cramaccepted = authcram(ThePass,TheChallenge,vpw->pw_clear_passwd);
421
    /* Apparently there has been a mix-up somewhere */
422
    cramaccepted = authcram(TheChallenge,ThePass,vpw->pw_clear_passwd);
422
    if(cramaccepted == 0) strcpy(AuthType, "CRAM-MD5");
423
    if(cramaccepted == 0) strcpy(AuthType, "CRAM-MD5");
423
  }
424
  }
424
425

Return to bug 53117