Skip to content

Commit bd02327

Browse files
authored
Expose SSL_OP_IGNORE_UNEXPECTED_EOF (#1127)
This was added to pyca/cryptography at pyca/cryptography@0fe4583
1 parent a4140bb commit bd02327

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/OpenSSL/SSL.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@
8080
"OP_COOKIE_EXCHANGE",
8181
"OP_NO_TICKET",
8282
"OP_NO_RENEGOTIATION",
83+
"OP_IGNORE_UNEXPECTED_EOF",
8384
"OP_ALL",
8485
"VERIFY_PEER",
8586
"VERIFY_FAIL_IF_NO_PEER_CERT",
@@ -205,6 +206,11 @@
205206
except AttributeError:
206207
pass
207208

209+
try:
210+
OP_IGNORE_UNEXPECTED_EOF = _lib.SSL_OP_IGNORE_UNEXPECTED_EOF
211+
except AttributeError:
212+
pass
213+
208214
OP_ALL = _lib.SSL_OP_ALL
209215

210216
VERIFY_PEER = _lib.SSL_VERIFY_PEER

0 commit comments

Comments
 (0)