Andreas Rumpf
7016a8f57d
make openssl.nim compile again
2017-10-10 01:04:09 +02:00
Andreas Rumpf
a3f80c4bdf
avoid deprecated procs
2017-07-26 08:52:03 +02:00
Dominik Picheta
427aa2d395
Fixes #4893 .
2017-05-17 15:07:45 +01:00
Yuriy Glukhov
58e2fbc935
Added BIO_new_mem_buf
2016-12-05 02:27:45 +02:00
Yuriy Glukhov
581c0c437b
In case of synliboverride we support only openssl 1.0.*
2016-11-30 17:17:24 +02:00
Yuriy Glukhov
975477527a
More fixes
2016-11-30 17:17:24 +02:00
Yuriy Glukhov
a80a0972b7
Fixed dynlink with OpenSSL >1.1.0. Added loadLibPattern.
2016-11-30 17:16:54 +02:00
Yuriy Glukhov
2f3c8c2f34
Fixed openssl for android
2016-11-09 15:09:08 +02:00
Federico Ceratto
8adfe793d3
Support OpenSSL 1.0.2
...
1.0.2 is a current OpenSSL stable release.
2016-10-17 12:10:31 +01:00
Dominik Picheta
c1706463dc
Merge branch 'tls-psk' of https://github.com/zielmicha/nim into zielmicha-tls-psk
2016-06-03 11:52:11 +01:00
Dominik Picheta
8050f43588
Fixed some warnings in httpclient, net, and openssl.
2016-04-04 21:28:21 +01:00
def
44ad71b7e0
Fix openssl md5 importcs
2016-01-24 13:55:44 +01:00
Łukasz Dubiel
8e9441b8cd
Add serach for libssl.so without version suffix.
2015-10-29 20:01:43 +01:00
Michał Zieliński
ba61a8d00a
net.nim: support for TLS-PSK ciphersuites
2015-10-24 22:17:31 +02:00
Michał Zieliński
3ebf27ddd2
net.nim: support storing arbitrary data inside SSLContext
2015-10-24 08:53:06 +02:00
Araq
0320c0c73b
fixes DLL hell on Windows
2015-09-05 12:03:53 +02:00
Araq
87f65f5e72
preparations for more Nimble packages; clear licensing; fixes #2949
2015-06-20 23:24:21 +02:00
Harald Lapp
3ccf667899
do not set mem functions on osx
2015-03-12 12:48:28 +01:00
Nathan Hoad
7cffd290bf
Refine the definition of the server name callbcak.
2015-03-08 21:54:34 +11:00
Nathan Hoad
19ddae38da
Some more documentation for the SNI related procs.
2015-03-08 13:39:37 +11:00
Nathan Hoad
82803d2871
Don't support old versions of OpenSSL.
2015-03-08 12:36:33 +11:00
Nathan Hoad
6a548a5c92
Add some documentation to the server-side callback functions.
2015-03-07 19:52:11 +11:00
Nathan Hoad
d27f40d9b1
Add SNI support to client and server sockets.
2015-03-07 00:48:32 +11:00
Dominik Picheta
076f993150
Fixes nim-lang/nimble#84
2015-01-05 18:15:18 +00:00
Araq
cfb76164b8
fixes a long standing openssl wrapper bug: pass C compliant allocation functions to CRYPTO_set_mem_functions
2014-12-28 23:01:11 +01:00
Will Szumski
d0ea2bdf5b
improved error msgs and refactored close in the net module
2014-12-17 23:34:55 +00:00
Araq
73ff0432dc
docgen works on linux
2014-10-27 00:12:36 +01:00
Araq
6a8a7678aa
cleaned up openssl.nim a bit
2014-09-19 01:30:26 +02:00
Araq
17ce01c3e1
some progress on documentation building
2014-09-17 10:04:36 +02:00
Dominik Picheta
bb1e87ce4d
Async SSL support.
2014-08-31 12:55:04 +01:00
Dominik Picheta
29ec795580
Fixes SSL case sensitive issues.
2014-08-30 18:00:05 +01:00
Andreas Rumpf
794b035e89
Merge pull request #1126 from fowlmouth/patch-1
...
added md5 functions from <openssl/md5.h>
2014-05-31 14:37:33 +02:00
Charlie Barto
46d4e5d052
changed openssl to import CRYPTO_mem_set_functions from libcrypto and made sockets.nim exclude the sslv2 code on BSD
2014-05-10 18:54:30 -04:00
Billingsly Wetherfordshire
3571635701
i left an {.importc.} in there
2014-04-20 23:49:41 -05:00
Billingsly Wetherfordshire
a7db33e876
added md5 functions from <openssl/md5.h>
2014-04-20 23:38:45 -05:00
Araq
435610e0af
merged #823 against devel
2014-02-02 01:38:19 +01:00
Dominik Picheta
8231deffd0
Made TSocketHandle distinct and fixed problems it caused for SSL.
2013-10-23 18:07:00 +01:00
onionhammer
705e8e929a
Fix: OpenSSL on Windows
...
Updated CRYPTO_malloc_init to no longer call CRYPTO_set_mem_functions if compiling for windows
Updated ERR_load_BIO_strings to import from DLLUtilName instead of DLLSSLName
Updated OpenSSL_add_all_algorithms to import from DLLUtilName instead of DLLSSLName
2013-06-20 17:52:30 -05:00
Grzegorz Adam Hankiewicz
72a3e21f28
Removes executable bit for text files.
2013-03-16 23:53:07 +01:00
Dominik Picheta
f2041afad5
Fixed timeouts for sockets, implemented timeouts in httpclient and fixed
...
a bug with redirection in httpclient.
2013-02-23 23:12:11 +00:00
Zahary Karadjov
81a3585872
merged upstream master
2013-01-27 23:41:45 +02:00
Zahary Karadjov
5d9153d420
Fixed openssl lib path on Mac OS X;
2013-01-27 20:29:18 +02:00
Araq
b6c8e16b0f
bugfix: openssl import for macosx
2012-12-19 21:45:18 +01:00
Araq
8948a97151
bugfix: 'not nil' and 'shared' types
2012-12-02 20:02:42 +01:00
Araq
0df0012bda
try version 1.0.0 for openssl
2012-10-19 02:02:06 +02:00
Dominik Picheta
40ae258e7e
Some improvements to the sockets module.
2012-07-25 19:55:52 +01:00
Dominik Picheta
3a06698118
Fixed the tasynciossl ImplicitClosure warning.
2012-07-24 20:39:45 +01:00
Dominik Picheta
5310a3044f
Many fixes for asynchronous sockets. Asyncio should now work well with buffered and unbuffered plain and ssl sockets. Added asyncio
...
test to the test suite.
2012-07-22 23:32:49 +01:00
Dominik Picheta
3294cb10a9
Sockets are now buffered and have ssl support through openssl.
2012-06-03 19:09:42 +01:00
Araq
5b28d08203
non-nil AST; continue after errors for IDE support
2011-02-12 19:24:20 +01:00