...
authorVolker Birk <vb@pep-project.org>
Mon, 11 May 2015 11:33:50 +0200
changeset 265e44786990bdf
parent 262 64f7088da78b
child 266 43ff71cb1abe
...
src/message_api.c
     1.1 --- a/src/message_api.c	Sun May 10 09:45:33 2015 +0200
     1.2 +++ b/src/message_api.c	Mon May 11 11:33:50 2015 +0200
     1.3 @@ -827,8 +827,8 @@
     1.4              ctext = src->attachments->next->data;
     1.5              csize = strlen(ctext);
     1.6  
     1.7 -            status = cryptotech[crypto].decrypt_and_verify(session,
     1.8 -                    ctext, csize, &ptext, &psize, &_keylist);
     1.9 +            status = cryptotech[crypto].decrypt_and_verify(session, ctext,
    1.10 +                    csize, &ptext, &psize, &_keylist);
    1.11              if (status > PEP_CANNOT_DECRYPT_UNKNOWN)
    1.12                  goto pep_error;
    1.13              decrypt_status = status;
    1.14 @@ -838,8 +838,8 @@
    1.15              ctext = src->longmsg;
    1.16              csize = strlen(ctext);
    1.17  
    1.18 -            status = cryptotech[crypto].decrypt_and_verify(session, ctext, csize,
    1.19 -                    &ptext, &psize, &_keylist);
    1.20 +            status = cryptotech[crypto].decrypt_and_verify(session, ctext,
    1.21 +                    csize, &ptext, &psize, &_keylist);
    1.22              if (status > PEP_CANNOT_DECRYPT_UNKNOWN)
    1.23                  goto pep_error;
    1.24              decrypt_status = status;