/[gpgoe]/trunk/src/OECrypto.c
ViewVC logotype

Diff of /trunk/src/OECrypto.c

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

revision 5 by twoaday, Fri Mar 24 22:46:53 2006 UTC revision 6 by twoaday, Sun Mar 26 10:39:09 2006 UTC
# Line 318  encrypt_msg (plugin_ctx_t ctx, char **r_ Line 318  encrypt_msg (plugin_ctx_t ctx, char **r_
318          err = gpgme_data_new (&out);          err = gpgme_data_new (&out);
319      if (!err) {      if (!err) {
320          gpgme_set_armor (gctx, 1);          gpgme_set_armor (gctx, 1);
321            gpgme_set_textmode (gctx, 1);
322          err = gpgme_op_encrypt (gctx, keys, GPGME_ENCRYPT_ALWAYS_TRUST, in, out);          err = gpgme_op_encrypt (gctx, keys, GPGME_ENCRYPT_ALWAYS_TRUST, in, out);
323      }      }
324    
# Line 395  sign_encrypt_msg (plugin_ctx_t ctx, char Line 396  sign_encrypt_msg (plugin_ctx_t ctx, char
396          err = gpgme_data_new (&out);          err = gpgme_data_new (&out);
397      if (!err) {      if (!err) {
398          gpgme_set_armor (gctx, 1);          gpgme_set_armor (gctx, 1);
399            gpgme_set_textmode (gctx, 1);
400          gpgme_set_passphrase_cb (gctx, passphrase_cb, cb_val);          gpgme_set_passphrase_cb (gctx, passphrase_cb, cb_val);
401          err = gpgme_op_encrypt_sign (gctx, keys, GPGME_ENCRYPT_ALWAYS_TRUST,          err = gpgme_op_encrypt_sign (gctx, keys, GPGME_ENCRYPT_ALWAYS_TRUST,
402                                       in, out);                                       in, out);

Legend:
Removed from v.5  
changed lines
  Added in v.6

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26