/[winpt]/trunk/Src/wptClipEncryptDlg.cpp
ViewVC logotype

Diff of /trunk/Src/wptClipEncryptDlg.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 174 by twoaday, Fri Dec 30 13:56:10 2005 UTC revision 175 by twoaday, Tue Feb 7 08:58:04 2006 UTC
# Line 56  gpg_clip_encrypt (gpgme_key_t rset[], in Line 56  gpg_clip_encrypt (gpgme_key_t rset[], in
56          return err;          return err;
57            
58      gpgme_set_armor (ctx, 1);      gpgme_set_armor (ctx, 1);
59        gpgme_set_textmode (ctx, 1);
60            
61      err = gpg_data_new_from_clipboard (&plain, 0);      err = gpg_data_new_from_clipboard (&plain, 0);
62      if (err)      if (err)
63          goto leave;          goto leave;
64      err = gpgme_data_new (&ciph);      err = gpgme_data_new (&ciph);
65      if (err)      if (err)
66          goto leave;          goto leave;    
67      err = gpgme_op_encrypt (ctx, rset,      err = gpgme_op_encrypt (ctx, rset,
68                              always_trust?GPGME_ENCRYPT_ALWAYS_TRUST : (gpgme_encrypt_flags_t)0,                              always_trust?GPGME_ENCRYPT_ALWAYS_TRUST : (gpgme_encrypt_flags_t)0,
69                              plain, ciph);                              plain, ciph);

Legend:
Removed from v.174  
changed lines
  Added in v.175

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26