diff options
author | Damien Miller <djm@mindrot.org> | 2015-03-03 13:50:27 -0800 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2015-03-03 13:50:27 -0800 |
commit | bbffb23daa0b002dd9f296e396a9ab8a5866b339 (patch) | |
tree | 09967945cc3c7b78c27ebceb0bc1d8a00b2e57ab /opacket.c | |
parent | 6c2039286f503e2012a58a1d109e389016e7a99b (diff) | |
download | openssh-git-bbffb23daa0b002dd9f296e396a9ab8a5866b339.tar.gz |
more --without-ssh1 fixes
Diffstat (limited to 'opacket.c')
-rw-r--r-- | opacket.c | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -74,7 +74,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) { @@ -83,7 +83,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) { @@ -148,7 +150,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) { @@ -157,7 +159,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) { |