Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37790739
en ru br
ALT Linux repositórios
S:2.64-alt3.1
5.0: 2.62.2-alt8
4.1: 2.60.9-alt4
4.0: 2.60.9-alt3.1
3.0: 2.60.9-alt2.3

Group :: Sistema/Servidores
RPM: ssmtp

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Patch: ssmtp-2.60.9-md5auth.patch
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);
 
 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009