summaryrefslogtreecommitdiffstats
path: root/cipher.h
diff options
context:
space:
mode:
authordjm@openbsd.org <djm@openbsd.org>2018-09-13 04:08:33 +0200
committerDamien Miller <djm@mindrot.org>2018-09-13 04:12:33 +0200
commit482d23bcacdd3664f21cc82a5135f66fc598275f (patch)
tree362f697a94da0a765d1dabcfbf33370b2a4df121 /cipher.h
parentupstream: Include certs with multiple RSA signature variants in (diff)
downloadopenssh-482d23bcacdd3664f21cc82a5135f66fc598275f.tar.xz
openssh-482d23bcacdd3664f21cc82a5135f66fc598275f.zip
upstream: hold our collective noses and use the openssl-1.1.x API in
OpenSSH; feedback and ok tb@ jsing@ markus@ OpenBSD-Commit-ID: cacbcac87ce5da0d3ca7ef1b38a6f7fb349e4417
Diffstat (limited to 'cipher.h')
-rw-r--r--cipher.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/cipher.h b/cipher.h
index dc7ecf113..dc1571d2e 100644
--- a/cipher.h
+++ b/cipher.h
@@ -68,8 +68,8 @@ u_int cipher_is_cbc(const struct sshcipher *);
u_int cipher_ctx_is_plaintext(struct sshcipher_ctx *);
-int cipher_get_keyiv(struct sshcipher_ctx *, u_char *, u_int);
-int cipher_set_keyiv(struct sshcipher_ctx *, const u_char *);
+int cipher_get_keyiv(struct sshcipher_ctx *, u_char *, size_t);
+int cipher_set_keyiv(struct sshcipher_ctx *, const u_char *, size_t);
int cipher_get_keyiv_len(const struct sshcipher_ctx *);
#endif /* CIPHER_H */