diff options
author | djm@openbsd.org <djm@openbsd.org> | 2017-04-30 23:23:54 +0000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2017-05-01 10:05:02 +1000 |
commit | 3d6d09f2e90f4ad650ebda6520bf2da446f37f14 (patch) | |
tree | 6a1243d4ff75b22262b98515e705ee1665d62f4d /buffer.h | |
parent | 05164358577c82de18ed7373196bc7dbd8a3f79c (diff) |
upstream commit
remove SSHv1 support from packet and buffer APIs
ok markus@
Upstream-ID: bfc290053d40b806ecac46317d300677d80e1dc9
Diffstat (limited to 'buffer.h')
-rw-r--r-- | buffer.h | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: buffer.h,v 1.25 2014/04/30 05:29:56 djm Exp $ */ | 1 | /* $OpenBSD: buffer.h,v 1.26 2017/04/30 23:23:54 djm Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Copyright (c) 2012 Damien Miller <djm@mindrot.org> | 4 | * Copyright (c) 2012 Damien Miller <djm@mindrot.org> |
@@ -49,9 +49,7 @@ int buffer_consume_end_ret(Buffer *, u_int); | |||
49 | 49 | ||
50 | #include <openssl/objects.h> | 50 | #include <openssl/objects.h> |
51 | #include <openssl/bn.h> | 51 | #include <openssl/bn.h> |
52 | void buffer_put_bignum(Buffer *, const BIGNUM *); | ||
53 | void buffer_put_bignum2(Buffer *, const BIGNUM *); | 52 | void buffer_put_bignum2(Buffer *, const BIGNUM *); |
54 | void buffer_get_bignum(Buffer *, BIGNUM *); | ||
55 | void buffer_get_bignum2(Buffer *, BIGNUM *); | 53 | void buffer_get_bignum2(Buffer *, BIGNUM *); |
56 | void buffer_put_bignum2_from_string(Buffer *, const u_char *, u_int); | 54 | void buffer_put_bignum2_from_string(Buffer *, const u_char *, u_int); |
57 | 55 | ||
@@ -75,8 +73,6 @@ void buffer_put_cstring(Buffer *, const char *); | |||
75 | 73 | ||
76 | #define buffer_skip_string(b) (void)buffer_get_string_ptr(b, NULL); | 74 | #define buffer_skip_string(b) (void)buffer_get_string_ptr(b, NULL); |
77 | 75 | ||
78 | int buffer_put_bignum_ret(Buffer *, const BIGNUM *); | ||
79 | int buffer_get_bignum_ret(Buffer *, BIGNUM *); | ||
80 | int buffer_put_bignum2_ret(Buffer *, const BIGNUM *); | 76 | int buffer_put_bignum2_ret(Buffer *, const BIGNUM *); |
81 | int buffer_get_bignum2_ret(Buffer *, BIGNUM *); | 77 | int buffer_get_bignum2_ret(Buffer *, BIGNUM *); |
82 | int buffer_get_short_ret(u_short *, Buffer *); | 78 | int buffer_get_short_ret(u_short *, Buffer *); |