version 1.3, 2015/01/30 01:13:33 |
version 1.4, 2015/04/27 01:53:37 |
|
|
fatal("%s: %s", __func__, ssh_err(r)); |
fatal("%s: %s", __func__, ssh_err(r)); |
} |
} |
|
|
#ifdef WITH_OPENSSL |
#ifdef WITH_SSH1 |
void |
void |
ssh_packet_put_bignum(struct ssh *ssh, BIGNUM * value) |
ssh_packet_put_bignum(struct ssh *ssh, BIGNUM * value) |
{ |
{ |
|
|
if ((r = sshpkt_put_bignum1(ssh, value)) != 0) |
if ((r = sshpkt_put_bignum1(ssh, value)) != 0) |
fatal("%s: %s", __func__, ssh_err(r)); |
fatal("%s: %s", __func__, ssh_err(r)); |
} |
} |
|
#endif |
|
|
|
#ifdef WITH_OPENSSL |
void |
void |
ssh_packet_put_bignum2(struct ssh *ssh, BIGNUM * value) |
ssh_packet_put_bignum2(struct ssh *ssh, BIGNUM * value) |
{ |
{ |
|
|
return val; |
return val; |
} |
} |
|
|
#ifdef WITH_OPENSSL |
#ifdef WITH_SSH1 |
void |
void |
ssh_packet_get_bignum(struct ssh *ssh, BIGNUM * value) |
ssh_packet_get_bignum(struct ssh *ssh, BIGNUM * value) |
{ |
{ |
|
|
if ((r = sshpkt_get_bignum1(ssh, value)) != 0) |
if ((r = sshpkt_get_bignum1(ssh, value)) != 0) |
fatal("%s: %s", __func__, ssh_err(r)); |
fatal("%s: %s", __func__, ssh_err(r)); |
} |
} |
|
#endif |
|
|
|
#ifdef WITH_OPENSSL |
void |
void |
ssh_packet_get_bignum2(struct ssh *ssh, BIGNUM * value) |
ssh_packet_get_bignum2(struct ssh *ssh, BIGNUM * value) |
{ |
{ |