Rename Certificate::new to Certificate::from_bytes

This commit is contained in:
Jack Grigg
2019-12-08 17:12:19 +00:00
parent 17839da94f
commit e73607e662
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -410,7 +410,7 @@ impl Key {
};
if !buf.is_empty() {
let cert = Certificate::new(buf)?;
let cert = Certificate::from_bytes(buf)?;
keys.push(Key { slot, cert });
}
}