File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1645,7 +1645,7 @@ def get_cert_store(self) -> X509Store | None:
1645
1645
pystore ._store = store
1646
1646
return pystore
1647
1647
1648
- def set_options (self , options : int ) -> None :
1648
+ def set_options (self , options : int ) -> int :
1649
1649
"""
1650
1650
Add options. Options set before are not cleared!
1651
1651
This method should be used with the :const:`OP_*` constants.
@@ -1658,7 +1658,7 @@ def set_options(self, options: int) -> None:
1658
1658
1659
1659
return _lib .SSL_CTX_set_options (self ._context , options )
1660
1660
1661
- def set_mode (self , mode : int ) -> None :
1661
+ def set_mode (self , mode : int ) -> int :
1662
1662
"""
1663
1663
Add modes via bitmask. Modes set before are not cleared! This method
1664
1664
should be used with the :const:`MODE_*` constants.
You can’t perform that action at this time.
0 commit comments