commit | 0dcacf7a1e8707f23bec177a722c4c9a273ad723 | [log] [tgz] |
---|---|---|
author | Paul Kehrer <paul.l.kehrer@gmail.com> | Thu Mar 17 19:25:39 2016 -0400 |
committer | Paul Kehrer <paul.l.kehrer@gmail.com> | Thu Mar 17 19:25:39 2016 -0400 |
tree | f5eb1626c7cc476f8a6551b5c1eeaf629d34152d | |
parent | b98d56999b10296fc5ba8b783ca427450cf5e0b4 [diff] [blame] |
switch to OPENSSL_free CRYPTO_free's function signature is changing in 1.1.0 and OPENSSL_free does the same thing for this purpose
diff --git a/src/OpenSSL/crypto.py b/src/OpenSSL/crypto.py index a5924c9..13b328f 100644 --- a/src/OpenSSL/crypto.py +++ b/src/OpenSSL/crypto.py
@@ -2318,7 +2318,7 @@ """ encoded = _lib.NETSCAPE_SPKI_b64_encode(self._spki) result = _ffi.string(encoded) - _lib.CRYPTO_free(encoded) + _lib.OPENSSL_free(encoded) return result def get_pubkey(self):