diff options
author | Kevin Steves <stevesk@cvs.openbsd.org> | 2001-09-17 19:27:16 +0000 |
---|---|---|
committer | Kevin Steves <stevesk@cvs.openbsd.org> | 2001-09-17 19:27:16 +0000 |
commit | 5b7f5d7784b6b205bb86ca2c15dc3c99925600a5 (patch) | |
tree | a7925d318b5eae9d28fc8795929b327d5a7bcab1 /usr.bin/ssh/ssh-rsa.c | |
parent | 558d8397d514aacccc830c86d8533565610b739f (diff) |
u_char*/char* cleanup; ok markus@
Diffstat (limited to 'usr.bin/ssh/ssh-rsa.c')
-rw-r--r-- | usr.bin/ssh/ssh-rsa.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/ssh/ssh-rsa.c b/usr.bin/ssh/ssh-rsa.c index a4ab3c51680..15ce5e977f0 100644 --- a/usr.bin/ssh/ssh-rsa.c +++ b/usr.bin/ssh/ssh-rsa.c @@ -23,7 +23,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: ssh-rsa.c,v 1.9 2001/06/06 23:13:54 markus Exp $"); +RCSID("$OpenBSD: ssh-rsa.c,v 1.10 2001/09/17 19:27:15 stevesk Exp $"); #include <openssl/evp.h> #include <openssl/err.h> @@ -130,7 +130,7 @@ ssh_rsa_verify( return -1; } buffer_init(&b); - buffer_append(&b, (char *) signature, signaturelen); + buffer_append(&b, signature, signaturelen); ktype = buffer_get_string(&b, NULL); if (strcmp("ssh-rsa", ktype) != 0) { error("ssh_rsa_verify: cannot handle type %s", ktype); @@ -139,7 +139,7 @@ ssh_rsa_verify( return -1; } xfree(ktype); - sigblob = (u_char *)buffer_get_string(&b, &len); + sigblob = buffer_get_string(&b, &len); rlen = buffer_len(&b); buffer_free(&b); if(rlen != 0) { |