[gmime: 2/4] Added support for GPGME_ENCRYPT_THROW_KEYIDS



commit f44fdb1e49d4a3512d7264221acb2d5ffc645923
Author: Jeffrey Stedfast <jestedfa microsoft com>
Date:   Wed Mar 29 09:10:30 2017 -0400

    Added support for GPGME_ENCRYPT_THROW_KEYIDS
    
    Fixes issue #2

 gmime/gmime-crypto-context.h |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/gmime/gmime-crypto-context.h b/gmime/gmime-crypto-context.h
index 23a3807..d44e912 100644
--- a/gmime/gmime-crypto-context.h
+++ b/gmime/gmime-crypto-context.h
@@ -95,6 +95,7 @@ typedef enum {
  * @GMIME_ENCRYPT_ALWAYS_TRUST: Always trust the specified keys.
  * @GMIME_ENCRYPT_NO_COMPRESS: Don't compress the plaintext before encrypting.
  * @GMIME_ENCRYPT_SYMMETRIC: Encrypt symmetrically.
+ * @GMIME_ENCRYPT_THROW_KEYIDS: Do not include the key ids in the ciphertext.
  *
  * Encryption flags.
  **/
@@ -102,7 +103,8 @@ typedef enum {
        GMIME_ENCRYPT_NONE          = 0,
        GMIME_ENCRYPT_ALWAYS_TRUST  = 1,
        GMIME_ENCRYPT_NO_COMPRESS   = 16,
-       GMIME_ENCRYPT_SYMMETRIC     = 32
+       GMIME_ENCRYPT_SYMMETRIC     = 32,
+       GMIME_ENCRYPT_THROW_KEYIDS  = 64,
 } GMimeEncryptFlags;
 
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]