... sync
authorVolker Birk <vb@pep-project.org>
Wed, 15 May 2019 19:31:25 +0200
branchsync
changeset 3692120e550260c3
parent 3691 970389145fb1
child 3693 36e22e151d99
...
src/message_api.c
src/pEpEngine.h
     1.1 --- a/src/message_api.c	Wed May 15 18:00:58 2019 +0200
     1.2 +++ b/src/message_api.c	Wed May 15 19:31:25 2019 +0200
     1.3 @@ -1000,6 +1000,8 @@
     1.4      _ctext[csize] = 0;
     1.5  
     1.6      dst->longmsg = _ctext;
     1.7 +    dst->enc_format = PEP_enc_inline;
     1.8 +
     1.9      return PEP_STATUS_OK;
    1.10  }
    1.11  
     2.1 --- a/src/pEpEngine.h	Wed May 15 18:00:58 2019 +0200
     2.2 +++ b/src/pEpEngine.h	Wed May 15 19:31:25 2019 +0200
     2.3 @@ -281,14 +281,14 @@
     2.4  
     2.5  typedef enum {
     2.6      PEP_CIPHER_SUITE_DEFAULT = 0,
     2.7 -    PEP_CIPHER_SUITE_CV25519,
     2.8 -    PEP_CIPHER_SUITE_RSA3K,
     2.9 -    PEP_CIPHER_SUITE_P256,
    2.10 -    PEP_CIPHER_SUITE_P384,
    2.11 -    PEP_CIPHER_SUITE_P521,
    2.12 -    PEP_CIPHER_SUITE_RSA2K,
    2.13 -    PEP_CIPHER_SUITE_RSA4K,
    2.14 -    PEP_CIPHER_SUITE_RSA8K
    2.15 +    PEP_CIPHER_SUITE_CV25519 = 1,
    2.16 +    PEP_CIPHER_SUITE_P256 = 2,
    2.17 +    PEP_CIPHER_SUITE_P384 = 3,
    2.18 +    PEP_CIPHER_SUITE_P521 = 4,
    2.19 +    PEP_CIPHER_SUITE_RSA2K = 5,
    2.20 +    PEP_CIPHER_SUITE_RSA3K = 6,
    2.21 +    PEP_CIPHER_SUITE_RSA4K = 7,
    2.22 +    PEP_CIPHER_SUITE_RSA8K = 8
    2.23  } PEP_CYPHER_SUITE;
    2.24  
    2.25  // config_cipher_suite() - cipher suite being used when encrypting