summaryrefslogtreecommitdiff
path: root/sshsig.h
diff options
context:
space:
mode:
authordjm@openbsd.org <djm@openbsd.org>2020-01-23 04:54:34 +0000
committerDamien Miller <djm@mindrot.org>2020-01-23 15:56:17 +1100
commite027c044c796f3a01081a91bee55741204283f28 (patch)
tree46126936d0c3a69b431141d4f985d8ca8c1d407b /sshsig.h
parent7e1323102b1b04eef391b01e180710a2d408a7ab (diff)
upstream: missing header change from previous; spotted by dtucker@
OpenBSD-Commit-ID: 321ce74c0a5bbd0f02fa3f20cb5cf2a952c6b96f
Diffstat (limited to 'sshsig.h')
-rw-r--r--sshsig.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/sshsig.h b/sshsig.h
index 386c8b5d7..939e3dfe0 100644
--- a/sshsig.h
+++ b/sshsig.h
@@ -92,4 +92,14 @@ struct sshsigopt *sshsigopt_parse(const char *opts,
92/* Free signature options */ 92/* Free signature options */
93void sshsigopt_free(struct sshsigopt *opts); 93void sshsigopt_free(struct sshsigopt *opts);
94 94
95/* Get public key from signature */
96int
97sshsig_get_pubkey(struct sshbuf *signature, struct sshkey **pubkey);
98
99/* Find principal in allowed_keys file, given a sshkey. Returns
100 * 0 on success.
101 */
102int sshsig_find_principal(const char *path, const struct sshkey *sign_key,
103 char **principal);
104
95#endif /* SSHSIG_H */ 105#endif /* SSHSIG_H */