diff options
author | Ben Lindstrom <mouring@eviladmin.org> | 2002-02-26 18:09:42 +0000 |
---|---|---|
committer | Ben Lindstrom <mouring@eviladmin.org> | 2002-02-26 18:09:42 +0000 |
commit | 90fd814f90a5733584d8c2d877924469ac39d819 (patch) | |
tree | 900e828038a9ff6af55bde33c1137e1b37e61b6c /ssh-dss.c | |
parent | e45a2cb2b7da40f81d4dced5dcbd12a23fefd833 (diff) |
- markus@cvs.openbsd.org 2002/02/24 19:14:59
[auth2.c authfd.c authfd.h authfile.c kexdh.c kexgex.c key.c key.h
ssh-dss.c ssh-dss.h ssh-keygen.c ssh-rsa.c ssh-rsa.h sshconnect2.c]
signed vs. unsigned: make size arguments u_int, ok stevesk@
Diffstat (limited to 'ssh-dss.c')
-rw-r--r-- | ssh-dss.c | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -23,7 +23,7 @@ | |||
23 | */ | 23 | */ |
24 | 24 | ||
25 | #include "includes.h" | 25 | #include "includes.h" |
26 | RCSID("$OpenBSD: ssh-dss.c,v 1.12 2002/01/25 21:42:11 markus Exp $"); | 26 | RCSID("$OpenBSD: ssh-dss.c,v 1.13 2002/02/24 19:14:59 markus Exp $"); |
27 | 27 | ||
28 | #include <openssl/bn.h> | 28 | #include <openssl/bn.h> |
29 | #include <openssl/evp.h> | 29 | #include <openssl/evp.h> |
@@ -42,8 +42,8 @@ RCSID("$OpenBSD: ssh-dss.c,v 1.12 2002/01/25 21:42:11 markus Exp $"); | |||
42 | int | 42 | int |
43 | ssh_dss_sign( | 43 | ssh_dss_sign( |
44 | Key *key, | 44 | Key *key, |
45 | u_char **sigp, int *lenp, | 45 | u_char **sigp, u_int *lenp, |
46 | u_char *data, int datalen) | 46 | u_char *data, u_int datalen) |
47 | { | 47 | { |
48 | DSA_SIG *sig; | 48 | DSA_SIG *sig; |
49 | EVP_MD *evp_md = EVP_sha1(); | 49 | EVP_MD *evp_md = EVP_sha1(); |
@@ -106,8 +106,8 @@ ssh_dss_sign( | |||
106 | int | 106 | int |
107 | ssh_dss_verify( | 107 | ssh_dss_verify( |
108 | Key *key, | 108 | Key *key, |
109 | u_char *signature, int signaturelen, | 109 | u_char *signature, u_int signaturelen, |
110 | u_char *data, int datalen) | 110 | u_char *data, u_int datalen) |
111 | { | 111 | { |
112 | DSA_SIG *sig; | 112 | DSA_SIG *sig; |
113 | EVP_MD *evp_md = EVP_sha1(); | 113 | EVP_MD *evp_md = EVP_sha1(); |