Skip to content

Commit a4a524e

Browse files
alex-robbinspfalcon
authored andcommitted
ssl: Add more constants.
Beyond imported from ussl.
1 parent 157e3b5 commit a4a524e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

ssl/ssl.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,6 @@
11
from ussl import *
2+
3+
# Constants
4+
for sym in "CERT_NONE", "CERT_OPTIONAL", "CERT_REQUIRED":
5+
if sym not in globals():
6+
globals()[sym] = object()

0 commit comments

Comments
 (0)