Arbitrarily decide to cast the unsigned char buffer to a signed char buffer when passing in to Python (instead of making it signed and casting it to unsigned when passing it into OpenSSL).
Arbitrarily decide to cast the unsigned char buffer to a signed char buffer when passing in to Python (instead of making it signed and casting it to unsigned when passing it into OpenSSL).

Actually it's not entirely arbitrary.  It makes more sense to represent arbitrary binary data as unsigned char.


harnesscloud/remyroy-pyopenssl-shutdown-fix,harnesscloud/remyroy-pyopenssl-shutdown-fix