openpgp-card: attestation_key_generation_time() only needs &self
This commit is contained in:
parent
4d5d9e7ee1
commit
8ee389ca7a
1 changed files with 1 additions and 1 deletions
|
@ -250,7 +250,7 @@ impl ApplicationRelatedData {
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Get Attestation key generation time.
|
/// Get Attestation key generation time.
|
||||||
pub fn attestation_key_generation_time(&mut self) -> Result<Option<KeyGenerationTime>, Error> {
|
pub fn attestation_key_generation_time(&self) -> Result<Option<KeyGenerationTime>, Error> {
|
||||||
match self.0.find(Tags::GenerationTimeAttestation) {
|
match self.0.find(Tags::GenerationTimeAttestation) {
|
||||||
None => Ok(None),
|
None => Ok(None),
|
||||||
Some(data) => {
|
Some(data) => {
|
||||||
|
|
Loading…
Reference in a new issue