diff options
-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, |