stowing changes ENGINE-74
authorKrista Grothoff <krista@pep-project.org>
Tue, 15 Nov 2016 21:52:46 +0100
branchENGINE-74
changeset 1399b77bc137c471
parent 1398 b1c1c1db2754
child 1426 7a1d5065841b
stowing changes
src/pgp_gpg.c
     1.1 --- a/src/pgp_gpg.c	Tue Nov 15 20:06:08 2016 +0100
     1.2 +++ b/src/pgp_gpg.c	Tue Nov 15 21:52:46 2016 +0100
     1.3 @@ -465,10 +465,10 @@
     1.4                  reading = gpg.gpgme_data_read(plain, _buffer, length);
     1.5                  assert(length == reading);
     1.6  
     1.7 -//                 if (detached_sig) {  // Is this safe to do?
     1.8 +//                 if (dsigtext) {  // Is this safe to do?
     1.9  //                     gpgme_data_t sigdata;
    1.10 -//                     gpg.gpgme_data_new_from_mem(&sigdata, detached_sig->value,
    1.11 -//                                                 detached_sig->size, 0);
    1.12 +//                     gpg.gpgme_data_new_from_mem(&sigdata, dsigtext,
    1.13 +//                                                 dsigsize, 0);
    1.14  //                     gpgme_op_verify(session->ctx, sigdata, plain, NULL);
    1.15  //                 }
    1.16