Edit comments

This commit is contained in:
Heiko Schaefer 2022-05-24 13:57:53 +02:00
parent a1966d76c3
commit edbb94c433
No known key found for this signature in database
GPG key ID: 4A849A1904CCBD7D

View file

@ -139,7 +139,7 @@ impl<'a> OpenPgpTransaction<'a> {
/// Get cardholder certificate (each for AUT, DEC and SIG).
///
/// Call select_data() before calling this fn, to select a particular
/// Call select_data() before calling this fn to select a particular
/// certificate (if the card supports multiple certificates).
#[allow(dead_code)]
pub fn cardholder_certificate(&mut self) -> Result<Vec<u8>, Error> {
@ -634,7 +634,7 @@ impl<'a> OpenPgpTransaction<'a> {
/// Set cardholder certificate (for AUT, DEC or SIG).
///
/// Call select_data() before calling this fn, to select a particular
/// Call select_data() before calling this fn to select a particular
/// certificate (if the card supports multiple certificates).
pub fn set_cardholder_certificate(&mut self, data: Vec<u8>) -> Result<(), Error> {
log::info!("OpenPgpTransaction: set_cardholder_certificate");