src/pEpEngine.c
branchENGINE-633
changeset 4079 da3b0627a59c
parent 4071 68f242584e18
child 4785 08d521da5611
     1.1 --- a/src/pEpEngine.c	Sun Sep 22 15:02:37 2019 +0200
     1.2 +++ b/src/pEpEngine.c	Sun Sep 22 21:41:35 2019 +0200
     1.3 @@ -4360,7 +4360,8 @@
     1.4                       size_t data_size, 
     1.5                       const char *fpr, 
     1.6                       char **sign, 
     1.7 -                     size_t *sign_size) {
     1.8 +                     size_t *sign_size,
     1.9 +                     PEP_HASH_ALGO* hash_algo) {
    1.10      assert(session);
    1.11      assert(fpr);
    1.12      assert(data);
    1.13 @@ -4372,7 +4373,7 @@
    1.14          return PEP_ILLEGAL_VALUE;
    1.15  
    1.16      return session->cryptotech[PEP_crypt_OpenPGP].sign_only(session,
    1.17 -                                fpr, data, data_size, sign, sign_size);
    1.18 +                                fpr, data, data_size, sign, sign_size, hash_algo);
    1.19                           
    1.20  }
    1.21