Commit b58cabe0 authored by Alexander Schrode's avatar Alexander Schrode Committed by oroulet

rm debug

parent e97e18a7
...@@ -183,7 +183,6 @@ class Client: ...@@ -183,7 +183,6 @@ class Client:
cert_len_idx = 2 cert_len_idx = 2
len_bytestr = endpoint.ServerCertificate[cert_len_idx:cert_len_idx + 2] len_bytestr = endpoint.ServerCertificate[cert_len_idx:cert_len_idx + 2]
cert_len = int.from_bytes(len_bytestr, byteorder="big", signed=False) + 4 cert_len = int.from_bytes(len_bytestr, byteorder="big", signed=False) + 4
print(cert_len)
server_certificate = uacrypto.x509_from_der(endpoint.ServerCertificate[:cert_len]) server_certificate = uacrypto.x509_from_der(endpoint.ServerCertificate[:cert_len])
elif not isinstance(server_certificate, uacrypto.CertProperties): elif not isinstance(server_certificate, uacrypto.CertProperties):
server_certificate = uacrypto.CertProperties(server_certificate) server_certificate = uacrypto.CertProperties(server_certificate)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment