소스 검색

Unable to compile v3.1.0rc1 with new SSL checks on rh5

Second fix for issue #117
John C. Frickson 9 년 전
부모
커밋
c30079c26e
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      src/check_nrpe.c

+ 2 - 0
src/check_nrpe.c

@@ -878,7 +878,9 @@ void setup_ssl()
 				break;
 				break;
 			case TLSv1_2:
 			case TLSv1_2:
 			case TLSv1_2_plus:
 			case TLSv1_2_plus:
+#ifdef SSL_OP_NO_TLSv1_1
 				ssl_opts |= SSL_OP_NO_TLSv1_1;
 				ssl_opts |= SSL_OP_NO_TLSv1_1;
+#endif
 			case TLSv1_1:
 			case TLSv1_1:
 			case TLSv1_1_plus:
 			case TLSv1_1_plus:
 				ssl_opts |= SSL_OP_NO_TLSv1;
 				ssl_opts |= SSL_OP_NO_TLSv1;