version 1.5, 2016/01/14 16:17:40 |
version 1.6, 2017/04/30 23:10:43 |
|
|
fatal("%s: %s", __func__, ssh_err(r)); |
fatal("%s: %s", __func__, ssh_err(r)); |
} |
} |
|
|
#ifdef WITH_SSH1 |
|
void |
|
ssh_packet_put_bignum(struct ssh *ssh, BIGNUM * value) |
|
{ |
|
int r; |
|
|
|
if ((r = sshpkt_put_bignum1(ssh, value)) != 0) |
|
fatal("%s: %s", __func__, ssh_err(r)); |
|
} |
|
#endif |
|
|
|
#ifdef WITH_OPENSSL |
#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_SSH1 |
|
void |
|
ssh_packet_get_bignum(struct ssh *ssh, BIGNUM * value) |
|
{ |
|
int r; |
|
|
|
if ((r = sshpkt_get_bignum1(ssh, value)) != 0) |
|
fatal("%s: %s", __func__, ssh_err(r)); |
|
} |
|
#endif |
|
|
|
#ifdef WITH_OPENSSL |
#ifdef WITH_OPENSSL |
void |
void |