summaryrefslogtreecommitdiff
path: root/usr.bin/ssh/key.h
diff options
context:
space:
mode:
authorMarkus Friedl <markus@cvs.openbsd.org>2000-12-19 23:18:00 +0000
committerMarkus Friedl <markus@cvs.openbsd.org>2000-12-19 23:18:00 +0000
commitc441e39b290077e6eeba4bc4404e49dc1da5157d (patch)
tree43226c2f4d399eb7c9606d7ee2ee3f67699f3ab6 /usr.bin/ssh/key.h
parentc5d02956f7af6ef386eba1f24c13a1ddb1c37b0b (diff)
replace 'unsigned bla' with 'u_bla' everywhere. also, replace 'char unsigned'
with u_char.
Diffstat (limited to 'usr.bin/ssh/key.h')
-rw-r--r--usr.bin/ssh/key.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/usr.bin/ssh/key.h b/usr.bin/ssh/key.h
index b6c3eb0109e..91f4d005506 100644
--- a/usr.bin/ssh/key.h
+++ b/usr.bin/ssh/key.h
@@ -47,24 +47,24 @@ int key_write(Key *key, FILE *f);
int key_read(Key *key, char **cpp);
u_int key_size(Key *k);
-Key *key_generate(int type, unsigned int bits);
+Key *key_generate(int type, u_int bits);
Key *key_from_private(Key *k);
int key_type_from_name(char *name);
Key *key_from_blob(char *blob, int blen);
-int key_to_blob(Key *key, unsigned char **blobp, unsigned int *lenp);
+int key_to_blob(Key *key, u_char **blobp, u_int *lenp);
char *key_ssh_name(Key *k);
int
key_sign(
Key *key,
- unsigned char **sigp, int *lenp,
- unsigned char *data, int datalen);
+ u_char **sigp, int *lenp,
+ u_char *data, int datalen);
int
key_verify(
Key *key,
- unsigned char *signature, int signaturelen,
- unsigned char *data, int datalen);
+ u_char *signature, int signaturelen,
+ u_char *data, int datalen);
#endif