- 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.
This commit is contained in:
parent
511bb24c5b
commit
01fff0c9d4
|
@ -68,6 +68,11 @@
|
|||
- markus@cvs.openbsd.org 2002/05/31 11:35:15
|
||||
[auth.h auth2.c]
|
||||
move Authmethod definitons to per-method file.
|
||||
- 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.
|
||||
|
||||
20020604
|
||||
- (stevesk) [channels.c] bug #164 patch from YOSHIFUJI Hideaki (changed
|
||||
|
@ -752,4 +757,4 @@
|
|||
- (stevesk) entropy.c: typo in debug message
|
||||
- (djm) ssh-keygen -i needs seeded RNG; report from markus@
|
||||
|
||||
$Id: ChangeLog,v 1.2163 2002/06/06 20:52:37 mouring Exp $
|
||||
$Id: ChangeLog,v 1.2164 2002/06/06 20:54:07 mouring Exp $
|
||||
|
|
6
key.c
6
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,
|
||||
|
|
Loading…
Reference in New Issue