pyca/pyopenssl — pull request #169 by zenithpolar (2014-11-07 17:31:21+00:00)
Title: sendall buf convertion atempt from unicode to str

Sendall method raises **Typerror** without considering a unicode **buf** parameter. Here i try to convert from unicode to str before testing isinstance(buf, bytes).