summaryrefslogtreecommitdiff
path: root/sshsig.h
diff options
context:
space:
mode:
Diffstat (limited to 'sshsig.h')
-rw-r--r--sshsig.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/sshsig.h b/sshsig.h
index 939e3dfe0..63cc1ad1a 100644
--- a/sshsig.h
+++ b/sshsig.h
@@ -93,13 +93,12 @@ struct sshsigopt *sshsigopt_parse(const char *opts,
93void sshsigopt_free(struct sshsigopt *opts); 93void sshsigopt_free(struct sshsigopt *opts);
94 94
95/* Get public key from signature */ 95/* Get public key from signature */
96int 96int sshsig_get_pubkey(struct sshbuf *signature, struct sshkey **pubkey);
97sshsig_get_pubkey(struct sshbuf *signature, struct sshkey **pubkey);
98 97
99/* Find principal in allowed_keys file, given a sshkey. Returns 98/* Find principal in allowed_keys file, given a sshkey. Returns
100 * 0 on success. 99 * 0 on success.
101 */ 100 */
102int sshsig_find_principal(const char *path, const struct sshkey *sign_key, 101int sshsig_find_principals(const char *path, const struct sshkey *sign_key,
103 char **principal); 102 char **principal);
104 103
105#endif /* SSHSIG_H */ 104#endif /* SSHSIG_H */