summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rw-r--r--key.c6
2 files changed, 11 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 8248ab19c..65c1a6bb1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
7220020604 7720020604
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 $
diff --git a/key.c b/key.c
index 1ce0a87a3..2d850c8e5 100644
--- a/key.c
+++ b/key.c
@@ -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"
35RCSID("$OpenBSD: key.c,v 1.43 2002/03/19 10:49:35 markus Exp $"); 35RCSID("$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 */
782int 786int
783key_verify( 787key_verify(
784 Key *key, 788 Key *key,