diff options
| author | Steven Fackler <[email protected]> | 2014-10-04 22:06:50 -0400 |
|---|---|---|
| committer | Steven Fackler <[email protected]> | 2014-10-04 22:06:50 -0400 |
| commit | c09ec835fa47f46315ba8a1cfc2303139597ab3b (patch) | |
| tree | a031fca69d0d0d75df2222041edb6647e62fdb29 /native | |
| parent | Merge pull request #58 from vhbit/verify-data (diff) | |
| parent | Add a dummy bn_is_zero C dependency to wrap BN_is_zero (diff) | |
| download | rust-openssl-c09ec835fa47f46315ba8a1cfc2303139597ab3b.tar.xz rust-openssl-c09ec835fa47f46315ba8a1cfc2303139597ab3b.zip | |
Merge pull request #64 from reem/fix/big-num-is-zero
Add a dummy bn_is_zero C dependency to wrap BN_is_zero
Diffstat (limited to 'native')
| -rw-r--r-- | native/bn_is_zero.c | 4 | ||||
| -rw-r--r-- | native/bn_is_zero.h | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/native/bn_is_zero.c b/native/bn_is_zero.c new file mode 100644 index 00000000..b0a4300b --- /dev/null +++ b/native/bn_is_zero.c @@ -0,0 +1,4 @@ +#include <openssl/bn.h> + +int bn_is_zero(BIGNUM *x) { return BN_is_zero(x); } + diff --git a/native/bn_is_zero.h b/native/bn_is_zero.h new file mode 100644 index 00000000..8ec36c35 --- /dev/null +++ b/native/bn_is_zero.h @@ -0,0 +1 @@ +int bn_is_zero(BIGNUM *x); |