Commit 453bff22 authored by Kurt Roeckx's avatar Kurt Roeckx
Browse files

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: default avatarMatt Caswell <matt@openssl.org>

GH: #1266
parent 152d2646
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment