Unsupported: pgp_config_cipher_suite for netpgp. sync
authorDirk Zimmermann <dz@pep.security>
Fri, 17 May 2019 16:20:19 +0200
branchsync
changeset 37196806be48b327
parent 3705 471c0ce30f46
child 3720 9ed76a79d784
child 3726 14f9e0f35945
child 3769 8f5847c0cd13
Unsupported: pgp_config_cipher_suite for netpgp.
src/pgp_netpgp.h
     1.1 --- a/src/pgp_netpgp.h	Thu May 16 12:41:23 2019 +0200
     1.2 +++ b/src/pgp_netpgp.h	Fri May 17 16:20:19 2019 +0200
     1.3 @@ -108,3 +108,11 @@
     1.4  
     1.5  // Stub - just returns PEP_STATUS_OK, as netpgp isn't sufficient to do this.
     1.6  PEP_STATUS pgp_import_ultimately_trusted_keypairs(PEP_SESSION session);
     1.7 +
     1.8 +PEP_STATUS pgp_config_cipher_suite(PEP_SESSION session, PEP_CIPHER_SUITE suite) {
     1.9 +    if (suite == PEP_CIPHER_SUITE_DEFAULT) {
    1.10 +        return PEP_STATUS_OK;
    1.11 +    } else {
    1.12 +        return PEP_CANNOT_CONFIG;
    1.13 +    }
    1.14 +}