disable SSLv2_method for ubuntu

This commit is contained in:
Araq
2012-12-03 21:48:12 +01:00
parent 8948a97151
commit 0834224070
3 changed files with 13 additions and 9 deletions

View File

@@ -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)

View File

@@ -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:

View File

@@ -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
=============