diff options
Diffstat (limited to 'sshkey.h')
-rw-r--r-- | sshkey.h | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: sshkey.h,v 1.11 2015/11/19 01:08:55 djm Exp $ */ | 1 | /* $OpenBSD: sshkey.h,v 1.12 2015/12/04 16:41:28 markus Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Copyright (c) 2000, 2001 Markus Friedl. All rights reserved. | 4 | * Copyright (c) 2000, 2001 Markus Friedl. All rights reserved. |
@@ -169,7 +169,7 @@ int sshkey_plain_to_blob(const struct sshkey *, u_char **, size_t *); | |||
169 | int sshkey_putb_plain(const struct sshkey *, struct sshbuf *); | 169 | int sshkey_putb_plain(const struct sshkey *, struct sshbuf *); |
170 | 170 | ||
171 | int sshkey_sign(const struct sshkey *, u_char **, size_t *, | 171 | int sshkey_sign(const struct sshkey *, u_char **, size_t *, |
172 | const u_char *, size_t, u_int); | 172 | const u_char *, size_t, const char *, u_int); |
173 | int sshkey_verify(const struct sshkey *, const u_char *, size_t, | 173 | int sshkey_verify(const struct sshkey *, const u_char *, size_t, |
174 | const u_char *, size_t, u_int); | 174 | const u_char *, size_t, u_int); |
175 | 175 | ||
@@ -193,11 +193,11 @@ int sshkey_parse_private_fileblob_type(struct sshbuf *blob, int type, | |||
193 | const char *passphrase, struct sshkey **keyp, char **commentp); | 193 | const char *passphrase, struct sshkey **keyp, char **commentp); |
194 | 194 | ||
195 | #ifdef SSHKEY_INTERNAL | 195 | #ifdef SSHKEY_INTERNAL |
196 | int ssh_rsa_sign(const struct sshkey *key, u_char **sigp, size_t *lenp, | 196 | int ssh_rsa_sign(const struct sshkey *key, |
197 | const u_char *data, size_t datalen, u_int compat); | 197 | u_char **sigp, size_t *lenp, const u_char *data, size_t datalen, |
198 | const char *ident); | ||
198 | int ssh_rsa_verify(const struct sshkey *key, | 199 | int ssh_rsa_verify(const struct sshkey *key, |
199 | const u_char *signature, size_t signaturelen, | 200 | const u_char *sig, size_t siglen, const u_char *data, size_t datalen); |
200 | const u_char *data, size_t datalen, u_int compat); | ||
201 | int ssh_dss_sign(const struct sshkey *key, u_char **sigp, size_t *lenp, | 201 | int ssh_dss_sign(const struct sshkey *key, u_char **sigp, size_t *lenp, |
202 | const u_char *data, size_t datalen, u_int compat); | 202 | const u_char *data, size_t datalen, u_int compat); |
203 | int ssh_dss_verify(const struct sshkey *key, | 203 | int ssh_dss_verify(const struct sshkey *key, |