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 c009e86cc8fbf91e8d59e99f787a4689a037f651..7f4566c3b17638219ccd555a81e22a6c188b4332 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 218ea8ad07bd3ef73a617bf7d3bc2175d3844be7..f77c655bc0dc2a92b2124c7e4210e3c1c426adbb 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 7bb3e885631b2cc285cbfecd030e8eb1ed3f0e2e..1c977ca47f9731007c67ee37708fcdd52383c739 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 e32f1ad5548b28a473105b692cf01c03a32ba16a..eee3eb24122e592be9915f68971f6e9fbfce0144 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 ad82a2c3bb6ab0fbf418447428d59e3ea7cac1b0..0a77904eae8fdf869a92a5feaa4938b85f5e30da 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);