diff options
author | Paul Kehrer <paul.l.kehrer@gmail.com> | 2016-03-17 19:25:39 -0400 |
---|---|---|
committer | Paul Kehrer <paul.l.kehrer@gmail.com> | 2016-03-17 19:25:39 -0400 |
commit | 0dcacf7a1e8707f23bec177a722c4c9a273ad723 (patch) | |
tree | f5eb1626c7cc476f8a6551b5c1eeaf629d34152d | |
parent | b98d56999b10296fc5ba8b783ca427450cf5e0b4 (diff) | |
download | pyopenssl-0dcacf7a1e8707f23bec177a722c4c9a273ad723.tar.gz |
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
-rw-r--r-- | src/OpenSSL/crypto.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ class NetscapeSPKI(object): """ 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): |