diff options
author | Doug Hogan <[email protected]> | 2019-01-03 19:36:18 -0800 |
---|---|---|
committer | Doug Hogan <[email protected]> | 2019-01-08 00:08:22 -0800 |
commit | 1ff19cc7870d14fc4ba946994162dfd0006e6459 (patch) | |
tree | 68c53cf5d6dd6f804e716e64af3aadff6f5d6d99 /lib/kernel/src/os.erl | |
parent | 792e83f15c43771342b9f36d940d2c2bd1cfa336 (diff) | |
download | otp-1ff19cc7870d14fc4ba946994162dfd0006e6459.tar.gz otp-1ff19cc7870d14fc4ba946994162dfd0006e6459.tar.bz2 otp-1ff19cc7870d14fc4ba946994162dfd0006e6459.zip |
Revamp bin_from_bn()
* Add error handling for all OpenSSL calls
- There was nothing returned on error before so use enif_make_badarg().
* Add bounds checking before casting.
Diffstat (limited to 'lib/kernel/src/os.erl')
0 files changed, 0 insertions, 0 deletions