|
|
@@ -46,8 +46,7 @@ int show_version = FALSE;
|
|
|
int packet_ver = NRPE_PACKET_VERSION_3;
|
|
|
|
|
|
#ifdef HAVE_SSL
|
|
|
-/* # if (defined(__sun) && defined(__SunOS_5_10)) || defined(_AIX) || defined(__hpux) */
|
|
|
-# if defined(__sun) || defined(_AIX) || defined(__hpux)
|
|
|
+# if (defined(__sun) && defined(SOLARIS_10)) || defined(_AIX) || defined(__hpux)
|
|
|
SSL_METHOD *meth;
|
|
|
# else
|
|
|
const SSL_METHOD *meth;
|
|
|
@@ -680,7 +679,7 @@ int connect_to_remote()
|
|
|
syslog(LOG_NOTICE, "Remote %s - SSL Version: %s", rem_host, SSL_get_version(ssl));
|
|
|
|
|
|
if (sslprm.log_opts & SSL_LogCipher) {
|
|
|
-# if defined(__sun) || defined(_AIX) || defined(__hpux)
|
|
|
+# if (defined(__sun) && defined(SOLARIS_10)) || defined(_AIX) || defined(__hpux)
|
|
|
SSL_CIPHER *c = SSL_get_current_cipher(ssl);
|
|
|
# else
|
|
|
const SSL_CIPHER *c = SSL_get_current_cipher(ssl);
|