diff --git a/rida.py b/rida.py index 6d8c1100..00e79cde 100755 --- a/rida.py +++ b/rida.py @@ -139,4 +139,4 @@ if __name__ == "__main__": ssl_ctx.verify_mode = ssl.CERT_OPTIONAL ssl_ctx.load_verify_locations(cafile=conf.ssl_ca_certificate_file) - app.run(request_handler=auth.ClientCertRequestHander, ssl_context=ssl_ctx) + app.run(request_handler=auth.ClientCertRequestHandler, ssl_context=ssl_ctx) diff --git a/rida/auth.py b/rida/auth.py index 33acfda3..99dd3699 100644 --- a/rida/auth.py +++ b/rida/auth.py @@ -28,7 +28,7 @@ from werkzeug.serving import WSGIRequestHandler import requests import json -class ClientCertRequestHander(WSGIRequestHandler): +class ClientCertRequestHandler(WSGIRequestHandler): """ WSGIRequestHandler subclass adding SSL_CLIENT_CERT_* variables to `request.environ` dict when the client certificate is set and