From 5a766b78a4b430a0ea15995e25c76fd17380e364 Mon Sep 17 00:00:00 2001 From: Heiko Schaefer Date: Wed, 25 Aug 2021 12:20:31 +0200 Subject: [PATCH] Fix for older rust versions (std::array::IntoIter was only stabilized in 1.51.0) --- openpgp-card/src/card_app.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openpgp-card/src/card_app.rs b/openpgp-card/src/card_app.rs index 0b023b8..2c5426d 100644 --- a/openpgp-card/src/card_app.rs +++ b/openpgp-card/src/card_app.rs @@ -522,7 +522,7 @@ impl CardApp { let mut algo_attributes = vec![0x01]; // Length of modulus n in bit - algo_attributes.extend(algo_attrs.len_n.to_be_bytes()); + algo_attributes.extend(&algo_attrs.len_n.to_be_bytes()); // Length of public exponent e in bit algo_attributes.push(0x00);