remove support for SSL on f27 because of openssl-1.1 - see specfile
[pcucontrol.git] / pcucontrol / models / intelamt / Include / CommonDefinitions.h
index 79555ab..84f8381 100644 (file)
@@ -245,12 +245,16 @@ public:
   soap_imode(m_soap, SOAP_IO_KEEPALIVE);
        if ( !strncmp(m_ip, "https:", 6) )
        {
+#ifdef WITH_OPENSSL
                soap_ssl_client_context(m_soap,
                                                                SOAP_SSL_DEFAULT,
                                                                certName,
                                                                certPass,
                                                                "/usr/share/ssl/cert.pem",
                                                                "/usr/share/ssl/certs/", NULL);
+#else
+                printf("WARNING, pcucontrol has no support for ssl starting with openssl-1.1\n");
+#endif
        }
 #endif
   }