diff options
author | Anton Ovchinnikov <revolver112@gmail.com> | 2015-03-29 14:26:18 +0200 |
---|---|---|
committer | Anton Ovchinnikov <revolver112@gmail.com> | 2015-03-29 14:26:18 +0200 |
commit | a64109c0c130cb1f7cf38caee7ece72fe6e20a63 (patch) | |
tree | 26a89a95d5855944eed0087ae9f02c13f5be0b09 | |
parent | 0bcb18c14e6095004feda160594ba0e6467f679a (diff) | |
download | cryptography-a64109c0c130cb1f7cf38caee7ece72fe6e20a63.tar.gz cryptography-a64109c0c130cb1f7cf38caee7ece72fe6e20a63.tar.bz2 cryptography-a64109c0c130cb1f7cf38caee7ece72fe6e20a63.zip |
Rename lambda argument
-rw-r--r-- | src/cryptography/hazmat/backends/openssl/x509.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cryptography/hazmat/backends/openssl/x509.py b/src/cryptography/hazmat/backends/openssl/x509.py index 1c9cf5cf..ef9070d1 100644 --- a/src/cryptography/hazmat/backends/openssl/x509.py +++ b/src/cryptography/hazmat/backends/openssl/x509.py @@ -45,7 +45,7 @@ def _build_x509_name(backend, x509_name): assert res >= 0 assert buf[0] != backend._ffi.NULL buf = backend._ffi.gc( - buf, lambda buf: backend._lib.OPENSSL_free(buf[0]) + buf, lambda buffer: backend._lib.OPENSSL_free(buffer[0]) ) value = backend._ffi.buffer(buf[0], res)[:].decode('utf8') oid = _obj2txt(backend, obj) |