diff options
author | 2001-09-17 19:27:15 +0000 | |
---|---|---|
committer | 2001-09-17 19:27:15 +0000 | |
commit | cafd441e5dc784b18f73552fd2213e8d11d95154 (patch) | |
tree | d8f67529d8d011c06f8de5c6bbcaa190f6f1cd9a /usr.bin/ssh/ssh-dss.c | |
parent | The first implementation of the buffer flushing daemon. It solves our (diff) | |
download | wireguard-openbsd-cafd441e5dc784b18f73552fd2213e8d11d95154.tar.xz wireguard-openbsd-cafd441e5dc784b18f73552fd2213e8d11d95154.zip |
u_char*/char* cleanup; ok markus@
Diffstat (limited to 'usr.bin/ssh/ssh-dss.c')
-rw-r--r-- | usr.bin/ssh/ssh-dss.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/ssh/ssh-dss.c b/usr.bin/ssh/ssh-dss.c index 5cf0076672b..22fffa02afa 100644 --- a/usr.bin/ssh/ssh-dss.c +++ b/usr.bin/ssh/ssh-dss.c @@ -23,7 +23,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: ssh-dss.c,v 1.7 2001/06/06 23:13:54 markus Exp $"); +RCSID("$OpenBSD: ssh-dss.c,v 1.8 2001/09/17 19:27:15 stevesk Exp $"); #include <openssl/bn.h> #include <openssl/evp.h> @@ -133,14 +133,14 @@ ssh_dss_verify( /* ietf-drafts */ char *ktype; buffer_init(&b); - buffer_append(&b, (char *) signature, signaturelen); + buffer_append(&b, signature, signaturelen); ktype = buffer_get_string(&b, NULL); if (strcmp("ssh-dss", ktype) != 0) { error("ssh_dss_verify: cannot handle type %s", ktype); buffer_free(&b); return -1; } - sigblob = (u_char *)buffer_get_string(&b, &len); + sigblob = buffer_get_string(&b, &len); rlen = buffer_len(&b); if(rlen != 0) { error("remaining bytes in signature %d", rlen); |