diff options
author | djm@openbsd.org <djm@openbsd.org> | 2017-12-18 03:22:29 +0100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2017-12-19 05:20:44 +0100 |
commit | 931c78dfd7fe30669681a59e536bbe66535f3ee9 (patch) | |
tree | 9c3aa653449bf532eb0f48d416d5906db2c4f977 /sshkey.h | |
parent | upstream commit (diff) | |
download | openssh-931c78dfd7fe30669681a59e536bbe66535f3ee9.tar.xz openssh-931c78dfd7fe30669681a59e536bbe66535f3ee9.zip |
upstream commit
sshkey_sigtype() function to return the type of a
signature; ok markus@
OpenBSD-Commit-ID: d3772b065ad6eed97285589bfb544befed9032e8
Diffstat (limited to 'sshkey.h')
-rw-r--r-- | sshkey.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,4 +1,4 @@ -/* $OpenBSD: sshkey.h,v 1.21 2017/07/01 13:50:45 djm Exp $ */ +/* $OpenBSD: sshkey.h,v 1.22 2017/12/18 02:22:29 djm Exp $ */ /* * Copyright (c) 2000, 2001 Markus Friedl. All rights reserved. @@ -174,6 +174,7 @@ int sshkey_puts(const struct sshkey *, struct sshbuf *); int sshkey_plain_to_blob(const struct sshkey *, u_char **, size_t *); int sshkey_putb_plain(const struct sshkey *, struct sshbuf *); +int sshkey_sigtype(const u_char *, size_t, char **); int sshkey_sign(const struct sshkey *, u_char **, size_t *, const u_char *, size_t, const char *, u_int); int sshkey_verify(const struct sshkey *, const u_char *, size_t, |