src/pgp_sequoia.c
changeset 4752 d86aedba2d52
parent 4746 74d6fb83a391
child 4754 455679240e4d
     1.1 --- a/src/pgp_sequoia.c	Wed Jun 17 12:46:06 2020 +0200
     1.2 +++ b/src/pgp_sequoia.c	Fri Jun 19 14:55:47 2020 +0200
     1.3 @@ -1701,9 +1701,9 @@
     1.4          if (! verifier)
     1.5              ERROR_OUT(err, PEP_UNKNOWN_ERROR, "Creating verifier");
     1.6  
     1.7 -        pgp_status_t status = pgp_detached_verifier_verify (&err, verifier, reader);
     1.8 +        pgp_status_t pgp_status = pgp_detached_verifier_verify (&err, verifier, reader);
     1.9          pgp_detached_verifier_free (verifier);
    1.10 -        if (status)
    1.11 +        if (pgp_status)
    1.12              ERROR_OUT(err, PEP_UNKNOWN_ERROR, "Verifying data");
    1.13      } else {
    1.14          pgp_reader_t verifier = NULL;
    1.15 @@ -1715,9 +1715,9 @@
    1.16          if (! verifier)
    1.17              ERROR_OUT(err, PEP_UNKNOWN_ERROR, "Creating verifier");
    1.18  
    1.19 -        pgp_status_t status = pgp_reader_discard(&err, verifier);
    1.20 +        pgp_status_t pgp_status = pgp_reader_discard(&err, verifier);
    1.21          pgp_reader_free(verifier);
    1.22 -        if (status)
    1.23 +        if (pgp_status)
    1.24              ERROR_OUT(err, PEP_UNKNOWN_ERROR, "verifier");
    1.25      }
    1.26  
    1.27 @@ -2482,17 +2482,6 @@
    1.28          break;
    1.29      }
    1.30  
    1.31 -    int int_result = sqlite3_exec(
    1.32 -        session->key_db,
    1.33 -        "PRAGMA wal_checkpoint(FULL);\n"
    1.34 -        ,
    1.35 -        NULL,
    1.36 -        NULL,
    1.37 -        NULL
    1.38 -    );
    1.39 -    if (int_result != SQLITE_OK)
    1.40 -        status = PEP_UNKNOWN_DB_ERROR;
    1.41 -
    1.42   out:
    1.43      pgp_cert_parser_free(parser);
    1.44