summaryrefslogtreecommitdiff
path: root/ssh-rsa.c
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2001-09-18 05:41:19 +0000
committerBen Lindstrom <mouring@eviladmin.org>2001-09-18 05:41:19 +0000
commit9e0ddd4379242d325157e38d406e5ed80ba0892c (patch)
tree6a5edbe9c4e33e195e52ddb11e6c30d3a6e63fb8 /ssh-rsa.c
parent1e2432416483351ba18ac7ea21538b138db583ae (diff)
- stevesk@cvs.openbsd.org 2001/09/17 19:27:15
[kexdh.c kexgex.c key.c key.h ssh-dss.c ssh-keygen.c ssh-rsa.c] u_char*/char* cleanup; ok markus
Diffstat (limited to 'ssh-rsa.c')
-rw-r--r--ssh-rsa.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ssh-rsa.c b/ssh-rsa.c
index a4ab3c51..15ce5e97 100644
--- a/ssh-rsa.c
+++ b/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) {