Changeset ddcf491f for storage_xml.c


Ignore:
Timestamp:
2008-03-16T14:18:22Z (12 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
e960a52
Parents:
d07c3a8
Message:

Adding padding to encrypted IM-passwords so the exact password length can't
be guessed from the encrypted data anymore.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • storage_xml.c

    rd07c3a8 rddcf491f  
    428428                int pass_len;
    429429               
    430                 pass_len = arc_encode( acc->pass, strlen( acc->pass ), (unsigned char**) &pass_cr, irc->password );
     430                pass_len = arc_encode( acc->pass, strlen( acc->pass ), (unsigned char**) &pass_cr, irc->password, 12 );
    431431                pass_b64 = base64_encode( pass_cr, pass_len );
    432432                g_free( pass_cr );
Note: See TracChangeset for help on using the changeset viewer.