From: Steffan K. <st...@ka...> - 2017-03-05 10:29:10
|
On 05-03-17 10:53, Gert Doering wrote: > Small side note: I assume that RSA_meth_new() can fail and return NULL > in OpenSSL 1.1? Because for 1.0, the "check_malloc_return(rsa_meth)" call > isn't necessary, as ALLOC_OBJ_CLEAR() would call ALLOC_OBJ() and that > already checks... (mentioning this here in case someone wonders and goes > to the list archives). For the archives: yes, RSA_meth_new() indeed returns NULL if it's internal malloc() call fails. -Steffan |