[BACK]Return to authfile.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / ssh

Diff for /src/usr.bin/ssh/authfile.c between version 1.93 and 1.94

version 1.93, 2012/01/25 19:36:31 version 1.94, 2012/12/11 22:31:18
Line 145 
Line 145 
         cipher_set_key_string(&ciphercontext, cipher, passphrase,          cipher_set_key_string(&ciphercontext, cipher, passphrase,
             CIPHER_ENCRYPT);              CIPHER_ENCRYPT);
         cipher_crypt(&ciphercontext, cp,          cipher_crypt(&ciphercontext, cp,
             buffer_ptr(&buffer), buffer_len(&buffer));              buffer_ptr(&buffer), buffer_len(&buffer), 0);
         cipher_cleanup(&ciphercontext);          cipher_cleanup(&ciphercontext);
         memset(&ciphercontext, 0, sizeof(ciphercontext));          memset(&ciphercontext, 0, sizeof(ciphercontext));
   
Line 463 
Line 463 
         cipher_set_key_string(&ciphercontext, cipher, passphrase,          cipher_set_key_string(&ciphercontext, cipher, passphrase,
             CIPHER_DECRYPT);              CIPHER_DECRYPT);
         cipher_crypt(&ciphercontext, cp,          cipher_crypt(&ciphercontext, cp,
             buffer_ptr(&copy), buffer_len(&copy));              buffer_ptr(&copy), buffer_len(&copy), 0);
         cipher_cleanup(&ciphercontext);          cipher_cleanup(&ciphercontext);
         memset(&ciphercontext, 0, sizeof(ciphercontext));          memset(&ciphercontext, 0, sizeof(ciphercontext));
         buffer_free(&copy);          buffer_free(&copy);

Legend:
Removed from v.1.93  
changed lines
  Added in v.1.94