Skip to content

Commit

Permalink
Remove unused error_code_variant
Browse files Browse the repository at this point in the history
  • Loading branch information
wbond committed Oct 1, 2022
1 parent 085c63f commit 1e1c023
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions oscrypto/_openssl/_libssl.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,6 @@ class LibsslConst():
LibsslConst.SSL_F_SSL3_GET_RECORD = 4
LibsslConst.SSL_F_SSL23_GET_SERVER_HELLO = 4
error_code_version_info = (1, 1, 0)
error_code_variant = 'macos'

else:
error_code_version_info = libcrypto_version_info
error_code_variant = 'openssl'
2 changes: 1 addition & 1 deletion oscrypto/_openssl/tls.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import select
import numbers

from ._libssl import error_code_version_info, error_code_variant, libssl, LibsslConst
from ._libssl import error_code_version_info, libssl, LibsslConst
from ._libcrypto import libcrypto, libcrypto_version_info, handle_openssl_error, peek_openssl_error
from .. import _backend_config
from .._asn1 import Certificate as Asn1Certificate
Expand Down

0 comments on commit 1e1c023

Please sign in to comment.