Skip to content
Snippets Groups Projects
Commit 882ab890 authored by Dominik Fuhrmann's avatar Dominik Fuhrmann
Browse files

bugfix

parent 89201779
No related branches found
No related tags found
No related merge requests found
......@@ -6,7 +6,7 @@ import logging
logging.basicConfig(level=logging.DEBUG)
# SSLContext für den Client
context = wolfssl.Context(wolfssl.SSLv23_METHOD)
context = wolfssl.SSLContext(wolfssl.SSLv23_METHOD)
# Client-Socket einrichten
client_socket = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
......
......@@ -6,7 +6,7 @@ import logging
logging.basicConfig(level=logging.DEBUG)
# SSLContext für den Server
context = wolfssl.Context(wolfssl.SSLv23_METHOD)
context = wolfssl.SSLContext(wolfssl.SSLv23_METHOD)
context.use_certificate_file('server-cert.pem') # Server-Zertifikat
context.use_privatekey_file('server-key.pem') # Server-Schlüssel
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment