title: How to fix OpenSSL.SSL.WantReadError?
body: <p>I have a trouble about pyopenssl.
  The error message is 'OpenSSL.SSL.WantReadError'.</p>
  
  <p>I'm debugging below.
  <a href="https://github.com/opencv/open_model_zoo" rel="nofollow noreferrer">https://github.com/opencv/open_model_zoo</a></p>
  
  <p>First error happened.
  asn1crypto._ffi.LibraryNotFoundError: The library libcrypto could not be found</p>
  
  <p>I confirmed info below.</p>
  
  <p><a href="https://stackoverflow.com/questions/49302516/where-to-get-and-install-crypto-dll-on-64-bit-windows">where to get and install crypto.dll on 64 bit Windows</a></p>
  
  <p>I changed from crypto to libcrypto in the file.</p>
  
  <p>(virtualenv path)\Lib\site-packages\asn1crypto_perf_big_num_ctypes.py</p>
  
  <p>So I resolved the first error.
  But Second error happend.</p>
  
  <p>OpenSSL.SSL.WantReadError</p>
  
  <p>My environment is below.
  Windows 10
  virtualenv
  Python 3.7.1
  pyopenssl 19.0.0
  Visual C++ 2017
  OpenSSL 1.0.2、1.1.0、1.1.1</p>
  
  <p>(virtualenv path)\Lib\site-packages\OpenSSL\SSL.py</p>
  
  <p>1620 line</p>
  
  <pre><code>error = _lib.SSL_get_error(ssl, result)
  if error == _lib.SSL_ERROR_WANT_READ:
      raise WantReadError()
  I installed OpenSSL both of 1.0.2 and 1.1.1.
  </code></pre>
  
  <p>The error message is 'OpenSSL.SSL.WantReadError'.</p>