chiark
/
gitweb
/
~ianmdlvl
/
otter.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
14f0d05
)
sshkeys: Fix name of sshkeys_remove
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sun, 30 May 2021 11:55:03 +0000
(12:55 +0100)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sun, 30 May 2021 12:44:07 +0000
(13:44 +0100)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
src/sshkeys.rs
patch
|
blob
|
history
diff --git
a/src/sshkeys.rs
b/src/sshkeys.rs
index 68f1ebcf4f03b61b6d5eb4fd4e94c764378ee233..00af3a76cdadcb0ba0da0f1d5623e5f626837be3 100644
(file)
--- a/
src/sshkeys.rs
+++ b/
src/sshkeys.rs
@@
-273,8
+273,8
@@
impl AccountsGuard {
}
#[throws(ME)]
- pub fn
remove_key
(&mut self, acctid: AccountId,
- index: usize, id: Id, _:Auth) {
+ pub fn
sshkeys_remove
(&mut self, acctid: AccountId,
+
index: usize, id: Id, _:Auth) {
let accounts = self.get_mut();
let gl = &mut accounts.ssh_keys;
let ps = accounts.records.pskeys_mut(acctid)?;