ALT Linux repositórios
Group :: Sistema/Servidores
RPM: ssmtp
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Patch: ssmtp-2.60.9-md5auth.patch
Download
Download
--- ssmtp-2.60/ssmtp.c.orig 2004-05-16 04:31:24 +0400
+++ ssmtp-2.60/ssmtp.c 2004-06-26 23:20:59 +0400
@@ -1326,7 +1326,11 @@
auth_pass = strdup("");
}
- if(strcasecmp(auth_method, "cram-md5")) {
+ if(auth_method == (char *)NULL) {
+ auth_method = strdup("");
+ }
+
+ if(strcasecmp(auth_method, "cram-md5") == 0) {
smtp_write(sock, "AUTH CRAM-MD5");
(void)alarm((unsigned) MEDWAIT);