diff options
author | Justus Winter <justus@sequoia-pgp.org> | 2020-04-08 11:23:14 +0200 |
---|---|---|
committer | Justus Winter <justus@sequoia-pgp.org> | 2020-04-08 11:23:14 +0200 |
commit | ffe1585191449a0c426569fe60654a20e594250d (patch) | |
tree | 0f4bbd9a1eff9bf3275f2c44f14aa258e489651a /openpgp-ffi | |
parent | a1b06c5bc4b755c3e9d7a2e79ff20c216258fdcc (diff) |
openpgp: Rename Encryptor::sym_algo to symmetric_algo.
- This aligns it with AED::symmetric_algo and SKESK::symmetric_algo.
Diffstat (limited to 'openpgp-ffi')
-rw-r--r-- | openpgp-ffi/src/serialize.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openpgp-ffi/src/serialize.rs b/openpgp-ffi/src/serialize.rs index 4669cb41..59d7836f 100644 --- a/openpgp-ffi/src/serialize.rs +++ b/openpgp-ffi/src/serialize.rs @@ -400,7 +400,7 @@ pub extern "C" fn pgp_encryptor_new<'a> encryptor = encryptor.add_password(p); } if let Some(algo) = cipher_algo { - encryptor = encryptor.sym_algo(algo); + encryptor = encryptor.symmetric_algo(algo); } if let Some(algo) = aead_algo { encryptor = encryptor.aead_algo(algo); |