fix ESMTP AUTH CRAM-MD5
authorPaul Mangan <paul@claws-mail.org>
Sat, 22 Mar 2003 08:59:29 +0000 (08:59 +0000)
committerPaul Mangan <paul@claws-mail.org>
Sat, 22 Mar 2003 08:59:29 +0000 (08:59 +0000)
ChangeLog
ChangeLog.claws
ChangeLog.jp
configure.ac
src/common/smtp.c

index c009e86..7f4566c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2003-03-22
+
+       * src/smtp.c: smtp_auth_recv(): fixed CRAM-MD5 authentication.
+
 2003-03-20
 
        * src/session.[ch]: session_start_tls(): new.
index 218ea8a..f77c655 100644 (file)
@@ -1,3 +1,10 @@
+2003-03-22 [paul]      0.8.11claws38
+
+       * src/common/smtp.c
+               fix ESMTP AUTH CRAM-MD5
+               [sync with main (still version 0.8.11cvs6), see
+                ChangeLog 2003-03-22]
+
 2003-03-21 [colin]     0.8.11claws37
 
        * src/send_message.c
index 7bb3e88..1c977ca 100644 (file)
@@ -1,3 +1,7 @@
+2003-03-22
+
+       * src/smtp.c: smtp_auth_recv(): CRAM-MD5 Ç§¾Ú¤ò½¤Àµ¡£
+
 2003-03-20
 
        * src/session.[ch]: session_start_tls(): ¿·µ¬¡£
index e32f1ad..eee3eb2 100644 (file)
@@ -11,7 +11,7 @@ MINOR_VERSION=8
 MICRO_VERSION=11
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=claws37
+EXTRA_VERSION=claws38
 VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$EXTRA_VERSION
 
 dnl set $target
index ad82a2c..0a77904 100644 (file)
@@ -184,7 +184,7 @@ static gint smtp_auth_recv(SMTPSession *session, const gchar *msg)
                        gint challengelen;
                        guchar hexdigest[33];
 
-                       challenge = g_malloc(strlen(buf + 4) + 1);
+                       challenge = g_malloc(strlen(msg + 4) + 1);
                        challengelen = base64_decode(challenge, msg + 4, -1);
                        challenge[challengelen] = '\0';
                        log_print("ESMTP< [Decoded: %s]\n", challenge);