upstream: missing header change from previous; spotted by dtucker@

OpenBSD-Commit-ID: 321ce74c0a5bbd0f02fa3f20cb5cf2a952c6b96f
This commit is contained in:
djm@openbsd.org 2020-01-23 04:54:34 +00:00 committed by Damien Miller
parent 7e1323102b
commit e027c044c7
1 changed files with 10 additions and 0 deletions

View File

@ -92,4 +92,14 @@ struct sshsigopt *sshsigopt_parse(const char *opts,
/* Free signature options */
void sshsigopt_free(struct sshsigopt *opts);
/* Get public key from signature */
int
sshsig_get_pubkey(struct sshbuf *signature, struct sshkey **pubkey);
/* Find principal in allowed_keys file, given a sshkey. Returns
* 0 on success.
*/
int sshsig_find_principal(const char *path, const struct sshkey *sign_key,
char **principal);
#endif /* SSHSIG_H */