Fix comment type
This commit is contained in:
parent
cdb72e271c
commit
39df280d70
1 changed files with 6 additions and 6 deletions
|
@ -84,12 +84,12 @@ impl<'a> crypto::Decryptor for CardDecryptor<'a> {
|
|||
ciphertext: &mpi::Ciphertext,
|
||||
_plaintext_len: Option<usize>,
|
||||
) -> openpgp::Result<crypto::SessionKey> {
|
||||
/// Delegate a decryption operation to the OpenPGP card.
|
||||
///
|
||||
/// This fn prepares the data structures that openpgp-card needs to
|
||||
/// perform the decryption operation.
|
||||
///
|
||||
/// (7.2.11 PSO: DECIPHER)
|
||||
// Delegate a decryption operation to the OpenPGP card.
|
||||
//
|
||||
// This fn prepares the data structures that openpgp-card needs to
|
||||
// perform the decryption operation.
|
||||
//
|
||||
// (7.2.11 PSO: DECIPHER)
|
||||
match (ciphertext, self.public.mpis()) {
|
||||
(mpi::Ciphertext::RSA { c: ct }, mpi::PublicKey::RSA { .. }) => {
|
||||
let dm = Cryptogram::RSA(ct.value());
|
||||
|
|
Loading…
Reference in a new issue