diff options
author | djm@openbsd.org <djm@openbsd.org> | 2019-01-23 00:30:41 +0000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2019-01-23 13:02:02 +1100 |
commit | bb956eaa94757ad058ff43631c3a7d6c94d38c2f (patch) | |
tree | e3151971c163f933af9d7ec7adaa4ea876f13c22 /kex.h | |
parent | d691588b8e29622c66abf8932362b522cf7f4051 (diff) |
upstream: pass most arguments to the KEX hash functions as sshbuf
rather than pointer+length; ok markus@
OpenBSD-Commit-ID: ef0c89c52ccc89817a13a5205725148a28492bf7
Diffstat (limited to 'kex.h')
-rw-r--r-- | kex.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: kex.h,v 1.106 2019/01/21 10:40:11 djm Exp $ */ | 1 | /* $OpenBSD: kex.h,v 1.107 2019/01/23 00:30:41 djm 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. |
@@ -229,7 +229,7 @@ int kex_dh_keygen(struct kex *); | |||
229 | int kex_dh_compute_key(struct kex *, BIGNUM *, struct sshbuf *); | 229 | int kex_dh_compute_key(struct kex *, BIGNUM *, struct sshbuf *); |
230 | 230 | ||
231 | int kexgex_hash(int, const struct sshbuf *, const struct sshbuf *, | 231 | int kexgex_hash(int, const struct sshbuf *, const struct sshbuf *, |
232 | const u_char *, size_t, const u_char *, size_t, const u_char *, size_t, | 232 | const struct sshbuf *, const struct sshbuf *, const struct sshbuf *, |
233 | int, int, int, | 233 | int, int, int, |
234 | const BIGNUM *, const BIGNUM *, const BIGNUM *, | 234 | const BIGNUM *, const BIGNUM *, const BIGNUM *, |
235 | const BIGNUM *, const u_char *, size_t, | 235 | const BIGNUM *, const u_char *, size_t, |