doc/asmack-beem/beem_patches/50-fix-sasl-incorrect-encoding.patch
author Da Risk <darisk972@gmail.com>
Wed, 09 Mar 2011 20:41:58 +0100
changeset 888 18fb78481e84
parent 797 fbd3585af53e
permissions -rw-r--r--
fix some issues when moving loginAnim to background.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
797
fbd3585af53e Explicit Apache License 2.0 for asmack_patches
Da Risk <darisk972@gmail.com>
parents: 786
diff changeset
     1
   Copyright (C) 2010 by Frederic-Charles Barthelery,
fbd3585af53e Explicit Apache License 2.0 for asmack_patches
Da Risk <darisk972@gmail.com>
parents: 786
diff changeset
     2
                         Jean-Manuel Da Silva,
fbd3585af53e Explicit Apache License 2.0 for asmack_patches
Da Risk <darisk972@gmail.com>
parents: 786
diff changeset
     3
                         Nikita Kozlov,
fbd3585af53e Explicit Apache License 2.0 for asmack_patches
Da Risk <darisk972@gmail.com>
parents: 786
diff changeset
     4
                         Philippe Lago,
fbd3585af53e Explicit Apache License 2.0 for asmack_patches
Da Risk <darisk972@gmail.com>
parents: 786
diff changeset
     5
                         Jean Baptiste Vergely,
fbd3585af53e Explicit Apache License 2.0 for asmack_patches
Da Risk <darisk972@gmail.com>
parents: 786
diff changeset
     6
                         Vincent Veronis.
fbd3585af53e Explicit Apache License 2.0 for asmack_patches
Da Risk <darisk972@gmail.com>
parents: 786
diff changeset
     7
fbd3585af53e Explicit Apache License 2.0 for asmack_patches
Da Risk <darisk972@gmail.com>
parents: 786
diff changeset
     8
   Licensed under the Apache License, Version 2.0 (the "License");
fbd3585af53e Explicit Apache License 2.0 for asmack_patches
Da Risk <darisk972@gmail.com>
parents: 786
diff changeset
     9
   you may not use this file except in compliance with the License.
fbd3585af53e Explicit Apache License 2.0 for asmack_patches
Da Risk <darisk972@gmail.com>
parents: 786
diff changeset
    10
   You may obtain a copy of the License at
fbd3585af53e Explicit Apache License 2.0 for asmack_patches
Da Risk <darisk972@gmail.com>
parents: 786
diff changeset
    11
fbd3585af53e Explicit Apache License 2.0 for asmack_patches
Da Risk <darisk972@gmail.com>
parents: 786
diff changeset
    12
       http://www.apache.org/licenses/LICENSE-2.0
fbd3585af53e Explicit Apache License 2.0 for asmack_patches
Da Risk <darisk972@gmail.com>
parents: 786
diff changeset
    13
fbd3585af53e Explicit Apache License 2.0 for asmack_patches
Da Risk <darisk972@gmail.com>
parents: 786
diff changeset
    14
   Unless required by applicable law or agreed to in writing, software
fbd3585af53e Explicit Apache License 2.0 for asmack_patches
Da Risk <darisk972@gmail.com>
parents: 786
diff changeset
    15
   distributed under the License is distributed on an "AS IS" BASIS,
fbd3585af53e Explicit Apache License 2.0 for asmack_patches
Da Risk <darisk972@gmail.com>
parents: 786
diff changeset
    16
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
fbd3585af53e Explicit Apache License 2.0 for asmack_patches
Da Risk <darisk972@gmail.com>
parents: 786
diff changeset
    17
   See the License for the specific language governing permissions and
fbd3585af53e Explicit Apache License 2.0 for asmack_patches
Da Risk <darisk972@gmail.com>
parents: 786
diff changeset
    18
   limitations under the License.
fbd3585af53e Explicit Apache License 2.0 for asmack_patches
Da Risk <darisk972@gmail.com>
parents: 786
diff changeset
    19
786
5629d4b4f04c Add a patch for asmack to fix sasl incorrect encoding.
Da Risk <darisk972@gmail.com>
parents:
diff changeset
    20
--- org/jivesoftware/smack/sasl/SASLMechanism.java~	2010-07-20 15:13:25.000000000 +0200
5629d4b4f04c Add a patch for asmack to fix sasl incorrect encoding.
Da Risk <darisk972@gmail.com>
parents:
diff changeset
    21
+++ org/jivesoftware/smack/sasl/SASLMechanism.java	2010-07-20 15:15:41.000000000 +0200
5629d4b4f04c Add a patch for asmack to fix sasl incorrect encoding.
Da Risk <darisk972@gmail.com>
parents:
diff changeset
    22
@@ -263,9 +263,6 @@
5629d4b4f04c Add a patch for asmack to fix sasl incorrect encoding.
Da Risk <darisk972@gmail.com>
parents:
diff changeset
    23
             if (authenticationText != null) {
5629d4b4f04c Add a patch for asmack to fix sasl incorrect encoding.
Da Risk <darisk972@gmail.com>
parents:
diff changeset
    24
                 stanza.append(authenticationText);
5629d4b4f04c Add a patch for asmack to fix sasl incorrect encoding.
Da Risk <darisk972@gmail.com>
parents:
diff changeset
    25
             }
5629d4b4f04c Add a patch for asmack to fix sasl incorrect encoding.
Da Risk <darisk972@gmail.com>
parents:
diff changeset
    26
-            else {
5629d4b4f04c Add a patch for asmack to fix sasl incorrect encoding.
Da Risk <darisk972@gmail.com>
parents:
diff changeset
    27
-                stanza.append("=");
5629d4b4f04c Add a patch for asmack to fix sasl incorrect encoding.
Da Risk <darisk972@gmail.com>
parents:
diff changeset
    28
-            }
5629d4b4f04c Add a patch for asmack to fix sasl incorrect encoding.
Da Risk <darisk972@gmail.com>
parents:
diff changeset
    29
             stanza.append("</response>");
5629d4b4f04c Add a patch for asmack to fix sasl incorrect encoding.
Da Risk <darisk972@gmail.com>
parents:
diff changeset
    30
             return stanza.toString();
5629d4b4f04c Add a patch for asmack to fix sasl incorrect encoding.
Da Risk <darisk972@gmail.com>
parents:
diff changeset
    31
         }