Fix extra bytes in err message
Summary: Error message might be < 256 bytes in which case buf.size() would be greater than the size of the message written out and we might have garbled bytes at the end. ERR_error_string_n null terminates the string so just use that. Reviewed By: anirudhvr Differential Revision: D3297320 fbshipit-source-id: 2ae626ce4c49ca478806c0bcc40a390e5a84f24b
Showing
Please register or sign in to comment