diff options
author | djm@openbsd.org <djm@openbsd.org> | 2017-04-30 23:10:43 +0000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2017-05-01 09:37:40 +1000 |
commit | 56912dea6ef63dae4eb1194e5d88973a7c6c5740 (patch) | |
tree | c0425585449d257a90a42efce5f602f7ce16779f /opacket.c | |
parent | d4084cd230f7319056559b00db8b99296dad49d5 (diff) |
upstream commit
unifdef WITH_SSH1 ok markus@
Upstream-ID: 9716e62a883ef8826c57f4d33b4a81a9cc7755c7
Diffstat (limited to 'opacket.c')
-rw-r--r-- | opacket.c | 20 |
1 files changed, 0 insertions, 20 deletions
@@ -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 | ||
78 | void | ||
79 | ssh_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 |
89 | void | 79 | void |
@@ -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 | ||
154 | void | ||
155 | ssh_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 |
165 | void | 145 | void |