rbit / pydtls

Datagram Transport Layer Security for Python
Apache License 2.0
72 stars 45 forks source link

ERR_* from dtls/err.py #8

Open mcfreis opened 7 years ago

mcfreis commented 7 years ago

Where do the error codes in https://github.com/rbit/pydtls/blob/master/dtls/err.py come from?

ERR_BOTH_KEY_CERT_FILES = 500
ERR_BOTH_KEY_CERT_FILES_SVR = 298
ERR_NO_CERTS = 331
ERR_NO_CIPHER = 501
ERR_READ_TIMEOUT = 502
ERR_WRITE_TIMEOUT = 503
ERR_HANDSHAKE_TIMEOUT = 504
ERR_PORT_UNREACHABLE = 505

Are they python specific or OpenSSL specific or pyDTLS specific?

Thx