Mailing List Archive

[openssh] 01/01: more --without-ssh1 fixes
This is an automated email from the git hooks/post-receive script.

djm pushed a commit to branch master
in repository openssh.

commit bbffb23daa0b002dd9f296e396a9ab8a5866b339
Author: Damien Miller <djm@mindrot.org>
Date: Tue Mar 3 13:50:27 2015 -0800

more --without-ssh1 fixes
---
opacket.c | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/opacket.c b/opacket.c
index 5eae633..b9160d5 100644
--- a/opacket.c
+++ b/opacket.c
@@ -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)
{

--
To stop receiving notification emails like this one, please contact
djm@mindrot.org.
_______________________________________________
openssh-commits mailing list
openssh-commits@mindrot.org
https://lists.mindrot.org/mailman/listinfo/openssh-commits