Rename Certificate::new to Certificate::from_bytes
This commit is contained in:
+1
-1
@@ -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 });
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user