Skip to content
Commit 03bf7127 authored by Viktor Dukhovni's avatar Viktor Dukhovni
Browse files

Good hygiene with size_t output argument.



Though the callers check the function return value and ignore the
size_t output argument on failure, it is still often not ideal to
store -1 in a size_t on error.  That might signal an unduly large
buffer.  Instead set the size_t to 0, to indicate no space.

Reviewed-by: default avatarRichard Levitte <levitte@openssl.org>
parent 56d91346
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