Message115184
> >>> ctx = ssl.SSLContext(ssl.PROTOCOL_SSLv23)
> >>> ctx.wrap_socket(socket.socket(), server_side=1)
> <ssl.SSLSocket object, fd=3, family=2, type=1, proto=0>
> >>>
>
> I'm not sure how to raise ValueError("certfile must be specified")
> here as SSLContext class doesn't store certfile information, at least
> at Python level. Any hint?
Actually, you shouldn't raise the error, since the certfile can be
specified after wrapping the socket. |
|
Date |
User |
Action |
Args |
2010-08-29 18:20:05 | pitrou | set | recipients:
+ pitrou, exarkun, janssen, giampaolo.rodola |
2010-08-29 18:20:02 | pitrou | link | issue9706 messages |
2010-08-29 18:20:01 | pitrou | create | |
|