Make CRYPTO_num_locks() return 1
malloc(0) might return NULL and code for the old callbacks might fail,
instead just say they should allocate 1 entry.
Reviewed-by: NMatt Caswell <matt@openssl.org>
GH: #1266
Showing
想要评论请 注册 或 登录
malloc(0) might return NULL and code for the old callbacks might fail,
instead just say they should allocate 1 entry.
Reviewed-by: NMatt Caswell <matt@openssl.org>
GH: #1266