diff options
author | Dominik Picheta <dominikpicheta@gmail.com> | 2016-09-19 19:36:35 +0200 |
---|---|---|
committer | Dominik Picheta <dominikpicheta@gmail.com> | 2016-09-19 19:36:35 +0200 |
commit | 1fb5dd247745e06c85a2ed1ad8f8f09f0a38b9b9 (patch) | |
tree | f5615e5845b1ed3c920fc8a34004532269daae56 /lib/pure | |
parent | 8386476592a1fafea7f62d18604ac8534f9b1834 (diff) | |
download | Nim-1fb5dd247745e06c85a2ed1ad8f8f09f0a38b9b9.tar.gz |
Fixes #4797.
Diffstat (limited to 'lib/pure')
-rw-r--r-- | lib/pure/net.nim | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/pure/net.nim b/lib/pure/net.nim index c26511f6a..a70f60a8e 100644 --- a/lib/pure/net.nim +++ b/lib/pure/net.nim @@ -106,6 +106,9 @@ when defineSsl: {.deprecated: [ESSL: SSLError, TSSLCVerifyMode: SSLCVerifyMode, TSSLProtVersion: SSLProtVersion, PSSLContext: SSLContext, TSSLAcceptResult: SSLAcceptResult].} +else: + type + SslContext* = void # TODO: Workaround #4797. const BufferSize*: int = 4000 ## size of a buffered socket's buffer |