diff options
author | Ben Lindstrom <mouring@eviladmin.org> | 2002-06-06 20:54:07 +0000 |
---|---|---|
committer | Ben Lindstrom <mouring@eviladmin.org> | 2002-06-06 20:54:07 +0000 |
commit | 01fff0c9d4f64d13e02ea6d516b5a335a35d00dd (patch) | |
tree | d13f9e844937dc73a83a596659b5857f9716fb3c | |
parent | 511bb24c5b4c11c2930464ff02bff9f4577566cb (diff) |
- markus@cvs.openbsd.org 2002/05/31 13:16:48
[key.c]
add comment:
key_verify returns 1 for a correct signature, 0 for an incorrect signature
and -1 on error.
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | key.c | 6 |
2 files changed, 11 insertions, 2 deletions
@@ -68,6 +68,11 @@ | |||
68 | - markus@cvs.openbsd.org 2002/05/31 11:35:15 | 68 | - markus@cvs.openbsd.org 2002/05/31 11:35:15 |
69 | [auth.h auth2.c] | 69 | [auth.h auth2.c] |
70 | move Authmethod definitons to per-method file. | 70 | move Authmethod definitons to per-method file. |
71 | - markus@cvs.openbsd.org 2002/05/31 13:16:48 | ||
72 | [key.c] | ||
73 | add comment: | ||
74 | key_verify returns 1 for a correct signature, 0 for an incorrect signature | ||
75 | and -1 on error. | ||
71 | 76 | ||
72 | 20020604 | 77 | 20020604 |
73 | - (stevesk) [channels.c] bug #164 patch from YOSHIFUJI Hideaki (changed | 78 | - (stevesk) [channels.c] bug #164 patch from YOSHIFUJI Hideaki (changed |
@@ -752,4 +757,4 @@ | |||
752 | - (stevesk) entropy.c: typo in debug message | 757 | - (stevesk) entropy.c: typo in debug message |
753 | - (djm) ssh-keygen -i needs seeded RNG; report from markus@ | 758 | - (djm) ssh-keygen -i needs seeded RNG; report from markus@ |
754 | 759 | ||
755 | $Id: ChangeLog,v 1.2163 2002/06/06 20:52:37 mouring Exp $ | 760 | $Id: ChangeLog,v 1.2164 2002/06/06 20:54:07 mouring Exp $ |
@@ -32,7 +32,7 @@ | |||
32 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 32 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
33 | */ | 33 | */ |
34 | #include "includes.h" | 34 | #include "includes.h" |
35 | RCSID("$OpenBSD: key.c,v 1.43 2002/03/19 10:49:35 markus Exp $"); | 35 | RCSID("$OpenBSD: key.c,v 1.44 2002/05/31 13:16:48 markus Exp $"); |
36 | 36 | ||
37 | #include <openssl/evp.h> | 37 | #include <openssl/evp.h> |
38 | 38 | ||
@@ -779,6 +779,10 @@ key_sign( | |||
779 | } | 779 | } |
780 | } | 780 | } |
781 | 781 | ||
782 | /* | ||
783 | * key_verify returns 1 for a correct signature, 0 for an incorrect signature | ||
784 | * and -1 on error. | ||
785 | */ | ||
782 | int | 786 | int |
783 | key_verify( | 787 | key_verify( |
784 | Key *key, | 788 | Key *key, |