disable SSLv2_method for ubuntu
This commit is contained in:
parent
8948a97151
commit
0834224070
3 changed files with 13 additions and 9 deletions
|
|
@ -837,10 +837,10 @@ proc matchesAux*(c: PContext, n, nOrig: PNode,
|
||||||
m.baseTypeMatch = false
|
m.baseTypeMatch = false
|
||||||
var arg = ParamTypesMatch(c, m, formal.typ, n.sons[a].typ,
|
var arg = ParamTypesMatch(c, m, formal.typ, n.sons[a].typ,
|
||||||
n.sons[a], nOrig.sons[a])
|
n.sons[a], nOrig.sons[a])
|
||||||
if arg == nil:
|
if arg == nil:
|
||||||
m.state = csNoMatch
|
m.state = csNoMatch
|
||||||
return
|
return
|
||||||
if m.baseTypeMatch:
|
if m.baseTypeMatch:
|
||||||
assert(container == nil)
|
assert(container == nil)
|
||||||
container = newNodeI(nkBracket, n.sons[a].info)
|
container = newNodeI(nkBracket, n.sons[a].info)
|
||||||
addSon(container, arg)
|
addSon(container, arg)
|
||||||
|
|
|
||||||
|
|
@ -258,7 +258,10 @@ when defined(ssl):
|
||||||
of protSSLv23:
|
of protSSLv23:
|
||||||
newCTX = SSL_CTX_new(SSLv23_method()) # SSlv2,3 and TLS1 support.
|
newCTX = SSL_CTX_new(SSLv23_method()) # SSlv2,3 and TLS1 support.
|
||||||
of protSSLv2:
|
of protSSLv2:
|
||||||
newCTX = SSL_CTX_new(SSLv2_method())
|
when not defined(linux):
|
||||||
|
newCTX = SSL_CTX_new(SSLv2_method())
|
||||||
|
else:
|
||||||
|
SSLError()
|
||||||
of protSSLv3:
|
of protSSLv3:
|
||||||
newCTX = SSL_CTX_new(SSLv3_method())
|
newCTX = SSL_CTX_new(SSLv3_method())
|
||||||
of protTLSv1:
|
of protTLSv1:
|
||||||
|
|
|
||||||
11
todo.txt
11
todo.txt
|
|
@ -1,11 +1,6 @@
|
||||||
version 0.9.2
|
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
|
- overloading based on ASTs: 'constraint' should not be in PType but for the
|
||||||
parameter *symbol*
|
parameter *symbol*
|
||||||
|
|
||||||
|
|
@ -14,6 +9,12 @@ version 0.9.2
|
||||||
- ``hoist`` pragma for loop hoisting: can be easily done with
|
- ``hoist`` pragma for loop hoisting: can be easily done with
|
||||||
AST overloading + global
|
AST overloading + global
|
||||||
|
|
||||||
|
- test&finish first class iterators:
|
||||||
|
* nested iterators
|
||||||
|
* test generic iterators
|
||||||
|
- fix closure bug finally
|
||||||
|
- fix marshal bug
|
||||||
|
|
||||||
|
|
||||||
version 0.9.X
|
version 0.9.X
|
||||||
=============
|
=============
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue