summaryrefslogtreecommitdiffstats
path: root/tdeio/kssl
diff options
context:
space:
mode:
authorDenis Kozadaev <denis@dilos.org>2023-06-10 22:14:25 +0300
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-06-12 16:54:15 +0900
commite02f27b0423d85c445b550813b324d98776aee1d (patch)
treee89ca8312681a5a43e000f916913c1b06c1f0306 /tdeio/kssl
parenteebb278115b65c2ee046dc8183197029564766f3 (diff)
downloadtdelibs-e02f27b0423d85c445b550813b324d98776aee1d.tar.gz
tdelibs-e02f27b0423d85c445b550813b324d98776aee1d.zip
SunOS spesific SSL pathes
Signed-off-by: Denis Kozadaev <denis@dilos.org> (cherry picked from commit ee09921685589497c72a3cb7c11d5c3e1605631d)
Diffstat (limited to 'tdeio/kssl')
-rw-r--r--tdeio/kssl/kopenssl.cpp13
1 files changed, 11 insertions, 2 deletions
diff --git a/tdeio/kssl/kopenssl.cpp b/tdeio/kssl/kopenssl.cpp
index abcd7e0f0..e4c793bfc 100644
--- a/tdeio/kssl/kopenssl.cpp
+++ b/tdeio/kssl/kopenssl.cpp
@@ -345,7 +345,15 @@ TDEConfig *cfg;
libnamesc << "cygcrypto.dll"
<< "libcrypto.dll"
<< "";
-#else
+#else /* !OpenBSD && !CygWin */
+
+#ifdef(Q_OS_SOLARIS)
+
+ libpaths << "/" SYSTEM_LIBDIR KDELIBSUFF "/"
+ << "/usr/" SYSTEM_LIBDIR KDELIBSUFF "/"
+ << "";
+#else /* default */
+
libpaths
#ifdef _AIX
<< "/opt/freeware/lib/"
@@ -358,6 +366,7 @@ TDEConfig *cfg;
<< "/opt/openssl/" SYSTEM_LIBDIR "/"
<< "/" SYSTEM_LIBDIR "/"
<< "";
+#endif /* default */
// FIXME: #define here for the various OS types to optimize
libnamess
@@ -401,7 +410,7 @@ TDEConfig *cfg;
<< "libcrypto.so.0"
#endif
;
-#endif
+#endif /* __OpenBSD__ */
for (TQStringList::Iterator it = libpaths.begin();
it != libpaths.end();