         let binary = Array(UnsafeBufferPointer<UInt8>(start: pointer, count: length))
         
         if self.sslEnabled {
-            #if os(macOS) || os(iOS)
+            #if (os(macOS) || os(iOS)) && !OPENSSL
                 var ditched = binary.count
                 SSLWrite(self.sslClient!, binary, binary.count, &ditched)
                 

        }
        
        
        #if os(macOS) || os(iOS)
            var val = 1
            setsockopt(self.plainClient, SOL_SOCKET, SO_NOSIGPIPE, &val, socklen_t(MemoryLayout<Int>.stride))
            

import Foundation
import Dispatch

#if (os(macOS) || os(iOS))
    import Security
    import Darwin
    #if OPENSSL
    import KittenCTLS
    #endif
#else
    import KittenCTLS
    import Glibc
