]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
upstream: missing header change from previous; spotted by dtucker@
authordjm@openbsd.org <djm@openbsd.org>
Thu, 23 Jan 2020 04:54:34 +0000 (04:54 +0000)
committerDamien Miller <djm@mindrot.org>
Thu, 23 Jan 2020 04:56:17 +0000 (15:56 +1100)
OpenBSD-Commit-ID: 321ce74c0a5bbd0f02fa3f20cb5cf2a952c6b96f

sshsig.h

index 386c8b5d7997176a880dc7a6ddb063407261a2ba..939e3dfe0bd1f936500ab2a730311933c458a453 100644 (file)
--- a/sshsig.h
+++ b/sshsig.h
@@ -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 */