* shutdown webcit if we panic out while creating certificates
[citadel.git] / webcit / webserver.c
index 55f6f150f778053a72afb8606894d58fb77857e6..8f04c224f67245f5596242d222203af7308a2141 100644 (file)
@@ -907,6 +907,11 @@ void ShutDownWebcit(void)
 #ifdef ENABLE_NLS
        ShutdownLocale();
 #endif
+#ifdef HAVE_OPENSSL
+       if (is_https) {
+               shutdown_ssl();
+       }
+#endif
 }
 
 /*