freebsd-ports/benchmarks/postal/files/patch-tcp.h
Mathieu Arnold 56bf85096c Cleanup patches, category benchmarks
Rename them to follow the make makepatch naming, and regenerate them.

With hat:	portmgr
Sponsored by:	Absolight
2016-07-27 15:09:11 +00:00

14 lines
312 B
C

--- tcp.h.orig 2007-01-12 07:12:10 UTC
+++ tcp.h
@@ -100,7 +100,11 @@ private:
#ifdef USE_SSL
#ifdef USE_OPENSSL
+#if defined(OPENSSL_VERSION_NUMBER) && OPENSSL_VERSION_NUMBER >= 0x10000000L
+ const SSL_METHOD *m_sslMeth;
+#else
SSL_METHOD *m_sslMeth;
+#endif
SSL_CTX* m_sslCtx;
SSL *m_ssl;
#else