diff options
author | Markus Friedl <markus@cvs.openbsd.org> | 2002-05-31 13:16:49 +0000 |
---|---|---|
committer | Markus Friedl <markus@cvs.openbsd.org> | 2002-05-31 13:16:49 +0000 |
commit | f52d0ea4b40b0ef2b197a228a2025c9607ccc9e7 (patch) | |
tree | bc0e9a7dc5acb85c11e4c4a777b9dfe94a9cbfc2 | |
parent | 2f26707206b0bc229f968f77e14258ae16bc0d26 (diff) |
add comment:
key_verify returns 1 for a correct signature, 0 for an incorrect signature
and -1 on error.
CVS ----------------------------------------------------------------------
-rw-r--r-- | usr.bin/ssh/key.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/usr.bin/ssh/key.c b/usr.bin/ssh/key.c index 1ce0a87a33b..2d850c8e571 100644 --- a/usr.bin/ssh/key.c +++ b/usr.bin/ssh/key.c @@ -32,7 +32,7 @@ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ #include "includes.h" -RCSID("$OpenBSD: key.c,v 1.43 2002/03/19 10:49:35 markus Exp $"); +RCSID("$OpenBSD: key.c,v 1.44 2002/05/31 13:16:48 markus Exp $"); #include <openssl/evp.h> @@ -779,6 +779,10 @@ key_sign( } } +/* + * key_verify returns 1 for a correct signature, 0 for an incorrect signature + * and -1 on error. + */ int key_verify( Key *key, |