diff options
author | Cory Benfield <lukasaoz@gmail.com> | 2015-04-13 17:20:14 -0400 |
---|---|---|
committer | Cory Benfield <lukasaoz@gmail.com> | 2015-04-13 17:20:14 -0400 |
commit | 9da5ffbd6dc15adeed4679b70cd6ead8d4b220b6 (patch) | |
tree | 4c3a6fb0212e3fc033388230b0d353794287311a | |
parent | 7907e33ccaf8076f5993c2928b4b5ce87fe3df03 (diff) | |
download | pyopenssl-9da5ffbd6dc15adeed4679b70cd6ead8d4b220b6.tar.gz |
Technically it's an initialism.
-rw-r--r-- | OpenSSL/SSL.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSSL/SSL.py b/OpenSSL/SSL.py index 8d92995..bdcda15 100644 --- a/OpenSSL/SSL.py +++ b/OpenSSL/SSL.py @@ -319,7 +319,7 @@ class _NpnSelectHelper(_CallbackExceptionHelper): ) -class _AlpnSelectHelper(_CallbackExceptionHelper): +class _ALPNSelectHelper(_CallbackExceptionHelper): """ Wrap a callback such that it can be used as an ALPN selection callback. """ @@ -1053,7 +1053,7 @@ class Context(object): bytestrings, e.g ``[b'http/1.1', b'spdy/2']``. It should return one of those bytestrings, the chosen protocol. """ - self._alpn_select_helper = _AlpnSelectHelper(callback) + self._alpn_select_helper = _ALPNSelectHelper(callback) self._alpn_select_callback = self._alpn_select_helper.callback _lib.SSL_CTX_set_alpn_select_cb( self._context, self._alpn_select_callback, _ffi.NULL) |