Age | Commit message (Collapse) | Author |
|
* Mention where an OpenSSL call uses 0 on success.
|
|
* Add error checking for OpenSSL calls.
* Note when an unusual OpenSSL API return value is checked.
|
|
* Add bounds checks and casting where appropriate.
|
|
* Add error handling for all OpenSSL calls.
* Add bounds check and casting where appropriate.
|
|
* Add error checking on all OpenSSL calls.
* Change dlen to int.
* Consolidate all of the freeing of resources into a common path.
|
|
* Add error handling for all OpenSSL calls.
* Consolidate freeing resources in both success and failure path.
|
|
* Add error handling for all OpenSSL calls.
* Simplify freeing resources on failure or success.
* Change dlen to int.
|
|
* Add error handling for all OpenSSL calls.
|
|
* Check for new atom_error from bin_from_bn on error.
|
|
|
|
* Add error checking for OpenSSL call.
|
|
* Added error checking for all OpenSSL calls
|
|
* Add error checking for all OpenSSL calls.
|
|
* Add error handling for all OpenSSL calls.
|
|
* Add error checking for OpenSSL calls.
|
|
|
|
* Add error handling for all Erlang calls.
* Add sanity check via bounds checking
|
|
|
|
* Add error handling for all OpenSSL calls.
|
|
|
|
* Add error handling for all OpenSSL calls.
|
|
* Add error handling for all OpenSSL and Erlang calls.
|
|
|
|
|
|
* Bug fix: Some EVP_PKEY_* calls return <= 0 on failure and 1 on success.
|
|
* Bug fix: Some EVP_PKEY_* return <= 0 on failure and 1 on success.
* Fix a possible memory leak where enif_alloc_binary() wasn't converted
into a term or freed in all paths.
|
|
|
|
* Restructure the code so it exits early
* Check for allocation failures and free on partial result
|
|
* Add error handling for all Erlang calls.
* Change size from int to size_t.
|
|
* Add error handling for all Erlang calls.
* Change size from int to size_t since it's assigned to sizeof().
|
|
* Add error handling for all Erlang calls.
|
|
* Add error handling for all Erlang calls.
|
|
|
|
|
|
|
|
|
|
* Add bounds checks for allocation multiplication
* Simplify the error handling by adding a flag for whether the strings
were loaded.
|
|
|
|
|
|
* Add error handling for all OpenSSL calls.
|
|
|
|
* Add error handling for all Erlang calls.
|
|
|
|
|
|
|
|
* Add error handling for all OpenSSL calls.
- However, disable custom crypto mem functions for LibreSSL
since it has never supported it.
|
|
* Simplify error checking.
* Add bounds checking before casting.
* Add error checking for all OpenSSL calls.
|
|
* Add error handling for OpenSSL calls.
* Change dlen to signed since BN_num_bytes() returns int.
* Use enif_make_badarg() on error since it only returned
undefined before in one type of error.
|
|
* 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.
|
|
* Add error handling for all OpenSSL calls
- There was nothing returned on error before so use enif_make_badarg().
* Add bounds checking before casting.
|