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.
1 file changed