Fix for older rust versions (std::array::IntoIter was only stabilized in 1.51.0)

This commit is contained in:
Heiko Schaefer 2021-08-25 12:20:31 +02:00
parent 02987a86e4
commit 5a766b78a4

View file

@ -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);