summaryrefslogtreecommitdiff
path: root/opacket.c
diff options
context:
space:
mode:
authordjm@openbsd.org <djm@openbsd.org>2017-04-30 23:10:43 +0000
committerDamien Miller <djm@mindrot.org>2017-05-01 09:37:40 +1000
commit56912dea6ef63dae4eb1194e5d88973a7c6c5740 (patch)
treec0425585449d257a90a42efce5f602f7ce16779f /opacket.c
parentd4084cd230f7319056559b00db8b99296dad49d5 (diff)
upstream commit
unifdef WITH_SSH1 ok markus@ Upstream-ID: 9716e62a883ef8826c57f4d33b4a81a9cc7755c7
Diffstat (limited to 'opacket.c')
-rw-r--r--opacket.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/opacket.c b/opacket.c
index 5970dd377..ad244b452 100644
--- a/opacket.c
+++ b/opacket.c
@@ -74,16 +74,6 @@ ssh_packet_put_raw(struct ssh *ssh, const void *buf, u_int len)
74 fatal("%s: %s", __func__, ssh_err(r)); 74 fatal("%s: %s", __func__, ssh_err(r));
75} 75}
76 76
77#ifdef WITH_SSH1
78void
79ssh_packet_put_bignum(struct ssh *ssh, BIGNUM * value)
80{
81 int r;
82
83 if ((r = sshpkt_put_bignum1(ssh, value)) != 0)
84 fatal("%s: %s", __func__, ssh_err(r));
85}
86#endif
87 77
88#ifdef WITH_OPENSSL 78#ifdef WITH_OPENSSL
89void 79void
@@ -150,16 +140,6 @@ ssh_packet_get_int64(struct ssh *ssh)
150 return val; 140 return val;
151} 141}
152 142
153#ifdef WITH_SSH1
154void
155ssh_packet_get_bignum(struct ssh *ssh, BIGNUM * value)
156{
157 int r;
158
159 if ((r = sshpkt_get_bignum1(ssh, value)) != 0)
160 fatal("%s: %s", __func__, ssh_err(r));
161}
162#endif
163 143
164#ifdef WITH_OPENSSL 144#ifdef WITH_OPENSSL
165void 145void