summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rwxr-xr-xcompiler/sigmatch.nim6
-rwxr-xr-xlib/pure/sockets.nim5
-rwxr-xr-xtodo.txt11
3 files changed, 13 insertions, 9 deletions
diff --git a/compiler/sigmatch.nim b/compiler/sigmatch.nim
index 799622355..8913b6d5d 100755
--- a/compiler/sigmatch.nim
+++ b/compiler/sigmatch.nim
@@ -837,10 +837,10 @@ proc matchesAux*(c: PContext, n, nOrig: PNode,
         m.baseTypeMatch = false
         var arg = ParamTypesMatch(c, m, formal.typ, n.sons[a].typ,
                                   n.sons[a], nOrig.sons[a])
-        if arg == nil: 
+        if arg == nil:
           m.state = csNoMatch
-          return 
-        if m.baseTypeMatch: 
+          return
+        if m.baseTypeMatch:
           assert(container == nil)
           container = newNodeI(nkBracket, n.sons[a].info)
           addSon(container, arg)
diff --git a/lib/pure/sockets.nim b/lib/pure/sockets.nim
index 6a3c644bd..01b97197e 100755
--- a/lib/pure/sockets.nim
+++ b/lib/pure/sockets.nim
@@ -258,7 +258,10 @@ when defined(ssl):
     of protSSLv23:
       newCTX = SSL_CTX_new(SSLv23_method()) # SSlv2,3 and TLS1 support.
     of protSSLv2:
-      newCTX = SSL_CTX_new(SSLv2_method())
+      when not defined(linux):
+        newCTX = SSL_CTX_new(SSLv2_method())
+      else:
+        SSLError()
     of protSSLv3:
       newCTX = SSL_CTX_new(SSLv3_method())
     of protTLSv1:
diff --git a/todo.txt b/todo.txt
index f736ce8dd..b7147c235 100755
--- a/todo.txt
+++ b/todo.txt
@@ -1,11 +1,6 @@
 version 0.9.2
 =============
 
-- test&finish first class iterators:
-  * nested iterators
-  * test generic iterators
-
-- fix closure bug finally
 - overloading based on ASTs: 'constraint' should not be in PType but for the
   parameter *symbol*
 
@@ -14,6 +9,12 @@ version 0.9.2
   - ``hoist`` pragma for loop hoisting: can be easily done with 
     AST overloading + global
 
+- test&finish first class iterators:
+  * nested iterators
+  * test generic iterators
+- fix closure bug finally
+- fix marshal bug
+
 
 version 0.9.X
 =============