ssl: Add more constants.

Beyond imported from ussl.
pull/236/merge
Alex Robbins 2017-08-22 17:07:05 -05:00 zatwierdzone przez Paul Sokolovsky
rodzic 157e3b5d61
commit a4a524e4ac
1 zmienionych plików z 5 dodań i 0 usunięć

Wyświetl plik

@ -1 +1,6 @@
from ussl import *
# Constants
for sym in "CERT_NONE", "CERT_OPTIONAL", "CERT_REQUIRED":
if sym not in globals():
globals()[sym] = object()