diff options
Diffstat (limited to 'src/protocol/internal/fqterm_ssh_buffer.cpp')
-rw-r--r-- | src/protocol/internal/fqterm_ssh_buffer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/protocol/internal/fqterm_ssh_buffer.cpp b/src/protocol/internal/fqterm_ssh_buffer.cpp index d95497a..1a44209 100644 --- a/src/protocol/internal/fqterm_ssh_buffer.cpp +++ b/src/protocol/internal/fqterm_ssh_buffer.cpp @@ -132,7 +132,7 @@ void FQTermSSHBuffer::putSSH1BN(BIGNUM *bignum) { void FQTermSSHBuffer::putSSH2BN(BIGNUM *bignum) { // FIXME: support negative number and add error handling. - FQ_VERIFY(!bignum->neg); // currently we don't support negative big number. + FQ_VERIFY(!BN_is_negative(bignum)); // currently we don't support negative big number. if (BN_is_zero(bignum)) { this->putInt(0); |