more --without-ssh1 fixes
diff --git a/opacket.c b/opacket.c
index 5eae633..b9160d5 100644
--- a/opacket.c
+++ b/opacket.c
@@ -74,7 +74,7 @@
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 @@
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 @@
return val;
}
-#ifdef WITH_OPENSSL
+#ifdef WITH_SSH1
void
ssh_packet_get_bignum(struct ssh *ssh, BIGNUM * value)
{
@@ -157,7 +159,9 @@
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)
{