Fixed error reporting routine

Was using OpenSSL’s code; now using M2Crypto style PyErr_SetString