summaryrefslogtreecommitdiffstats
path: root/usr.bin/ssh/sshbuf.h
diff options
context:
space:
mode:
authordjm <djm@openbsd.org>2019-01-21 09:52:25 +0000
committerdjm <djm@openbsd.org>2019-01-21 09:52:25 +0000
commite144fa24bddcd86107507f231de7fcb3731db9df (patch)
tree365a7f062daf2d9c8b8ec49505ab5d019cb7f709 /usr.bin/ssh/sshbuf.h
parentfix all-zero check in kexc25519_shared_key (diff)
downloadwireguard-openbsd-e144fa24bddcd86107507f231de7fcb3731db9df.tar.xz
wireguard-openbsd-e144fa24bddcd86107507f231de7fcb3731db9df.zip
remove obsolete (SSH v.1) sshbuf_get/put_bignum1 functions
from markus@ ok djm@
Diffstat (limited to 'usr.bin/ssh/sshbuf.h')
-rw-r--r--usr.bin/ssh/sshbuf.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/usr.bin/ssh/sshbuf.h b/usr.bin/ssh/sshbuf.h
index 6fd3322891d..01fafb43ac1 100644
--- a/usr.bin/ssh/sshbuf.h
+++ b/usr.bin/ssh/sshbuf.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: sshbuf.h,v 1.11 2018/07/09 21:56:06 markus Exp $ */
+/* $OpenBSD: sshbuf.h,v 1.12 2019/01/21 09:52:25 djm Exp $ */
/*
* Copyright (c) 2011 Damien Miller
*
@@ -205,11 +205,9 @@ int sshbuf_peek_string_direct(const struct sshbuf *buf, const u_char **valp,
* curve points.
*/
int sshbuf_get_bignum2(struct sshbuf *buf, BIGNUM *v);
-int sshbuf_get_bignum1(struct sshbuf *buf, BIGNUM *v);
int sshbuf_get_bignum2_bytes_direct(struct sshbuf *buf,
const u_char **valp, size_t *lenp);
int sshbuf_put_bignum2(struct sshbuf *buf, const BIGNUM *v);
-int sshbuf_put_bignum1(struct sshbuf *buf, const BIGNUM *v);
int sshbuf_put_bignum2_bytes(struct sshbuf *buf, const void *v, size_t len);
int sshbuf_get_ec(struct sshbuf *buf, EC_POINT *v, const EC_GROUP *g);
int sshbuf_get_eckey(struct sshbuf *buf, EC_KEY *v);