Skip to content

Commit e06704c

Browse files
authored
Merge pull request #527 from Superhepper/clippy-1.78
Fixes various CI errors.
2 parents b75d2ad + 613eaee commit e06704c

File tree

5 files changed

+25
-1
lines changed

5 files changed

+25
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,7 @@
356356
**Implemented enhancements:**
357357

358358
- Add evict\_control API to context [\#135](https://github.com/parallaxsecond/rust-tss-esapi/issues/135)
359-
- Depoly Session [\#126](https://github.com/parallaxsecond/rust-tss-esapi/issues/126)
359+
- Deploy Session [\#126](https://github.com/parallaxsecond/rust-tss-esapi/issues/126)
360360
- No private key analog to `load\_external\_rsa\_public\_key` [\#123](https://github.com/parallaxsecond/rust-tss-esapi/issues/123)
361361
- Have two builds with two different TSS lib versions in CI [\#110](https://github.com/parallaxsecond/rust-tss-esapi/issues/110)
362362
- Split between tss-esapi and tss-esapi-sys [\#75](https://github.com/parallaxsecond/rust-tss-esapi/issues/75)

tss-esapi/src/abstraction/pcr/data.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,12 @@ impl PcrData {
101101
}
102102
}
103103

104+
impl Default for PcrData {
105+
fn default() -> Self {
106+
Self::new()
107+
}
108+
}
109+
104110
impl IntoIterator for PcrData {
105111
type Item = (HashingAlgorithm, PcrBank);
106112
type IntoIter = ::std::vec::IntoIter<(HashingAlgorithm, PcrBank)>;

tss-esapi/src/attributes/command_code.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,3 +143,9 @@ impl CommandCodeAttributesBuilder {
143143
self.command_code_attributes.0.try_into()
144144
}
145145
}
146+
147+
impl Default for CommandCodeAttributesBuilder {
148+
fn default() -> Self {
149+
Self::new()
150+
}
151+
}

tss-esapi/src/attributes/locality.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,3 +125,9 @@ impl LocalityAttributesBuilder {
125125
Ok(locality_attributes)
126126
}
127127
}
128+
129+
impl Default for LocalityAttributesBuilder {
130+
fn default() -> Self {
131+
Self::new()
132+
}
133+
}

tss-esapi/src/structures/tagged/public.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -289,6 +289,12 @@ impl PublicBuilder {
289289
}
290290
}
291291

292+
impl Default for PublicBuilder {
293+
fn default() -> Self {
294+
Self::new()
295+
}
296+
}
297+
292298
/// Enum representing the Public structure.
293299
///
294300
/// # Details

0 commit comments

Comments
 (0)