diff options
author | Doug Hogan <[email protected]> | 2019-01-03 19:48:23 -0800 |
---|---|---|
committer | Doug Hogan <[email protected]> | 2019-01-08 00:08:22 -0800 |
commit | 890b16d224b082d8a077abd0a8a50dc2fc68cf7b (patch) | |
tree | a252ffef0c1bcdb79d123017c01fb4731506d6d4 /lib/public_key/src | |
parent | 1ff19cc7870d14fc4ba946994162dfd0006e6459 (diff) | |
download | otp-890b16d224b082d8a077abd0a8a50dc2fc68cf7b.tar.gz otp-890b16d224b082d8a077abd0a8a50dc2fc68cf7b.tar.bz2 otp-890b16d224b082d8a077abd0a8a50dc2fc68cf7b.zip |
Revamp mod_exp_nif()
* Add error checking for OpenSSL calls.
* Change dlen from unsigned to signed since BN_num_bytes is int.
* Add bounds checking before casting.
* Consolidate all freeing to one location on error or success.
Diffstat (limited to 'lib/public_key/src')
0 files changed, 0 insertions, 0 deletions