Changeset 9a1c14d


Ignore:
Timestamp:
2011-12-24T18:12:15Z (7 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
644b808
Parents:
34ded90
Message:

An empty password is still a password, don't refuse accounts for that.

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • lib/arc.c

    r34ded90 r9a1c14d  
    200200        {
    201201                *clear = g_strdup( "" );
    202                 return 0;
     202                return -1;
    203203        }
    204204       
  • storage_xml.c

    r34ded90 r9a1c14d  
    150150                                     "Unknown protocol: %s", protocol );
    151151                else if( ( pass_len = base64_decode( pass_b64, (unsigned char**) &pass_cr ) ) &&
    152                                          arc_decode( pass_cr, pass_len, &password, xd->given_pass ) )
     152                         arc_decode( pass_cr, pass_len, &password, xd->given_pass ) >= 0 )
    153153                {
    154154                        xd->current_account = account_add( irc->b, prpl, handle, password );
Note: See TracChangeset for help on using the changeset viewer.