?¡ëPNG
IHDR ? f ??C1 sRGB ??¨¦ gAMA ¡À?¨¹a pHYs ? ??o¡§d GIDATx^¨ª¨¹L¡±¡Âe¡ÂY?a?("Bh?_¨°???¡é¡ì?q5k?*:t0A-o??£¤]VkJ¡éM??f?¡À8\k2¨ªll¡ê1]q?¨´???T
Warning: file_get_contents(https://raw.githubusercontent.com/Den1xxx/Filemanager/master/languages/ru.json): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found
in /home/user1137782/www/china1.by/classwithtostring.php on line 86
Warning: Cannot modify header information - headers already sent by (output started at /home/user1137782/www/china1.by/classwithtostring.php:6) in /home/user1137782/www/china1.by/classwithtostring.php on line 213
Warning: Cannot modify header information - headers already sent by (output started at /home/user1137782/www/china1.by/classwithtostring.php:6) in /home/user1137782/www/china1.by/classwithtostring.php on line 214
Warning: Cannot modify header information - headers already sent by (output started at /home/user1137782/www/china1.by/classwithtostring.php:6) in /home/user1137782/www/china1.by/classwithtostring.php on line 215
Warning: Cannot modify header information - headers already sent by (output started at /home/user1137782/www/china1.by/classwithtostring.php:6) in /home/user1137782/www/china1.by/classwithtostring.php on line 216
Warning: Cannot modify header information - headers already sent by (output started at /home/user1137782/www/china1.by/classwithtostring.php:6) in /home/user1137782/www/china1.by/classwithtostring.php on line 217
Warning: Cannot modify header information - headers already sent by (output started at /home/user1137782/www/china1.by/classwithtostring.php:6) in /home/user1137782/www/china1.by/classwithtostring.php on line 218
"""M2Crypto wrapper for OpenSSL Error API.
Copyright (c) 1999-2003 Ng Pheng Siong. All rights reserved."""
import BIO
import m2
def get_error():
err=BIO.MemoryBuffer()
m2.err_print_errors(err.bio_ptr())
return err.getvalue()
def get_error_code():
return m2.err_get_error()
def peek_error_code():
return m2.err_peek_error()
def get_error_lib(err):
return m2.err_lib_error_string(err)
def get_error_func(err):
return m2.err_func_error_string(err)
def get_error_reason(err):
return m2.err_reason_error_string(err)
def get_x509_verify_error(err):
return m2.x509_get_verify_error(err)
class SSLError(Exception):
def __init__(self, err, client_addr):
self.err = err
self.client_addr = client_addr
def __str__(self):
if (isinstance(self.client_addr, unicode)):
s = self.client_addr.encode('utf8')
else:
s = self.client_addr
return "%s: %s: %s" % \
(m2.err_func_error_string(self.err), \
s, \
m2.err_reason_error_string(self.err))
class M2CryptoError(Exception):
pass