Under windows, using python3 to call the OpenSSL dynamic library modified by the country's secrets and reporting an error, using python2 is normal, I am really puzzled.
Later, it was found that libssl-1_1-x64.dll and libcrypto-1_1-x64.dll library files existed in the DLLs path under python3. After replacing the files inside with the modified files, it ran normally.