summaryrefslogtreecommitdiff
path: root/src/OpenSSL/_util.py
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2021-01-16 11:41:11 -0500
committerGitHub <noreply@github.com>2021-01-16 10:41:11 -0600
commit90f09650e289022e10570702eaf007f44d1cac05 (patch)
treeec1e5047288ab01ff03a443e8f433c6f388f4fc7 /src/OpenSSL/_util.py
parent2f26202d0e8acc24e22bede20b1456d63c3ed107 (diff)
downloadpyopenssl-90f09650e289022e10570702eaf007f44d1cac05.tar.gz
cleanup from_buffer now that we just use cffi natively (#989)master
Diffstat (limited to 'src/OpenSSL/_util.py')
-rw-r--r--src/OpenSSL/_util.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/OpenSSL/_util.py b/src/OpenSSL/_util.py
index d04244c..53c0b9e 100644
--- a/src/OpenSSL/_util.py
+++ b/src/OpenSSL/_util.py
@@ -153,6 +153,3 @@ def text_to_bytes_and_warn(label, obj):
)
return obj.encode("utf-8")
return obj
-
-
-from_buffer = ffi.from_buffer