diff options
| author | 2015-04-27 01:53:37 +0000 | |
|---|---|---|
| committer | 2015-04-27 01:53:37 +0000 | |
| commit | 409ef5102fae3cff63eee3d65b89929eadeffffd (patch) | |
| tree | 889ac4b5f33daf382fb7f4275825b08417eadf5d /usr.bin/ssh/opacket.c | |
| parent | fix compilation with OPENSSL=no; ok dtucker@ (diff) | |
| download | wireguard-openbsd-409ef5102fae3cff63eee3d65b89929eadeffffd.tar.xz wireguard-openbsd-409ef5102fae3cff63eee3d65b89929eadeffffd.zip | |
more OPENSSL=no fixes; ok dtucker@
Diffstat (limited to 'usr.bin/ssh/opacket.c')
| -rw-r--r-- | usr.bin/ssh/opacket.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/usr.bin/ssh/opacket.c b/usr.bin/ssh/opacket.c index 78bfd6cd9ac..88e9abd8c1f 100644 --- a/usr.bin/ssh/opacket.c +++ b/usr.bin/ssh/opacket.c @@ -72,7 +72,7 @@ ssh_packet_put_raw(struct ssh *ssh, const void *buf, u_int len) fatal("%s: %s", __func__, ssh_err(r)); } -#ifdef WITH_OPENSSL +#ifdef WITH_SSH1 void ssh_packet_put_bignum(struct ssh *ssh, BIGNUM * value) { @@ -81,7 +81,9 @@ ssh_packet_put_bignum(struct ssh *ssh, BIGNUM * value) if ((r = sshpkt_put_bignum1(ssh, value)) != 0) fatal("%s: %s", __func__, ssh_err(r)); } +#endif +#ifdef WITH_OPENSSL void ssh_packet_put_bignum2(struct ssh *ssh, BIGNUM * value) { @@ -144,7 +146,7 @@ ssh_packet_get_int64(struct ssh *ssh) return val; } -#ifdef WITH_OPENSSL +#ifdef WITH_SSH1 void ssh_packet_get_bignum(struct ssh *ssh, BIGNUM * value) { @@ -153,7 +155,9 @@ ssh_packet_get_bignum(struct ssh *ssh, BIGNUM * value) if ((r = sshpkt_get_bignum1(ssh, value)) != 0) fatal("%s: %s", __func__, ssh_err(r)); } +#endif +#ifdef WITH_OPENSSL void ssh_packet_get_bignum2(struct ssh *ssh, BIGNUM * value) { |
