stoddard 99/03/05 13:58:52
Modified: src/ap ap_md5c.c
Log:
Fix to MD5 password encryption...
Submitted by: Keith Wannamaker
Reviewed by: Bill Stoddard
Revision Changes Path
1.22 +1 -1 apache-1.3/src/ap/ap_md5c.c
Index: ap_md5c.c
===================================================================
RCS file: /export/home/cvs/apache-1.3/src/ap/ap_md5c.c,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -r1.21 -r1.22
--- ap_md5c.c 1999/02/05 13:11:11 1.21
+++ ap_md5c.c 1999/03/05 21:58:51 1.22
@@ -607,6 +607,6 @@
crypt_pw = crypt(passwd, hash);
ap_cpystrn(sample, crypt_pw, sizeof(sample) - 1);
}
- return (strcmp(sample, hash) == 0) ? NULL : "password mismatch";
#endif
+ return (strcmp(sample, hash) == 0) ? NULL : "password mismatch";
}