summary refs log tree commit diff stats
path: root/lib/pure/net.nim
diff options
context:
space:
mode:
Diffstat (limited to 'lib/pure/net.nim')
-rw-r--r--lib/pure/net.nim1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/pure/net.nim b/lib/pure/net.nim
index f7aacfb0c..d807a5112 100644
--- a/lib/pure/net.nim
+++ b/lib/pure/net.nim
@@ -1006,7 +1006,6 @@ proc close*(socket: Socket) =
   try:
     when defineSsl:
       if socket.isSsl and socket.sslHandle != nil:
-        ErrClearError()
         # Don't call SSL_shutdown if the connection has not been fully
         # established, see:
         # https://github.com/openssl/openssl/issues/710#issuecomment-253897666