https://fedorahosted.org/389/ticket/47945
https://fedorahosted.org/389/attachment/ticket/47945/0001-Ticket-47945-Ad...
git patch file (master) -- slapi_getSSLVersion_str takes buf to return
the SSL version string.
Thank you for his comments and suggestions, Rich! The patch was updated
following his suggestions.
On 11/08/2014 04:04 PM, 389 Project wrote:
Comment (by rmeggins):
One more optimization - give the function the ability to write the string
to a given buffer + length e.g. slapi_getNSSVersion_str(protocolnum, char
*buf, size_t bufsize)
If buf is NULL or bufsize is 0, do the smprintf, otherwise, snprintf(buf,
bufsize, ...)