start of 659 fix under gpg ENGINE-659-gpg
authorKrista 'DarthMama' Bennett <krista@pep.foundation>
Thu, 05 Dec 2019 10:12:16 +0100
branchENGINE-659-gpg
changeset 4242813d4d700713
parent 4236 01980e34ecdf
child 4245 40ef37a1e806
start of 659 fix under gpg
src/pgp_gpg.c
     1.1 --- a/src/pgp_gpg.c	Thu Dec 05 09:31:42 2019 +0100
     1.2 +++ b/src/pgp_gpg.c	Thu Dec 05 10:12:16 2019 +0100
     1.3 @@ -678,6 +678,8 @@
     1.4                              break;
     1.5                          }
     1.6                          case GPG_ERR_CERT_REVOKED:
     1.7 +                            result = PEP_VERIFY_SIGNER_KEY_REVOKED;
     1.8 +                            break;
     1.9                          case GPG_ERR_BAD_SIGNATURE:
    1.10                              result = PEP_DECRYPT_SIGNATURE_DOES_NOT_MATCH;
    1.11                              //result = PEP_DECRYPT_BAD_SIGNATURE;
    1.12 @@ -3129,4 +3131,3 @@
    1.13              return PEP_CANNOT_CONFIG;
    1.14      }
    1.15  }
    1.16 -