Commit graph

126 commits

Author SHA1 Message Date
Kaushal Modi
3f7142fcfd [bugfix] openssl styleCheck fix: consistent var naming (#11750) 2019-07-16 21:23:12 +02:00
Araq
cb3c3c306c minor style changes 2019-07-11 00:28:20 +02:00
SolitudeSF
e96afd6324
[bugfix] Add .47 as supported libssl version 2019-06-14 20:00:23 +03:00
treeform
d490bc519a Add force openSSL version with -d:sslVersion=1.0.0 (#11272) 2019-05-20 16:53:24 +02:00
Timothee Cour
98ef545bed fix #10281 (#10282) 2019-01-12 08:18:04 +01:00
Andre von Houck
21078798ea Fix libssl order. Newest one is 1.1 2019-01-08 10:30:22 -08:00
treeform
3ed833198b Better LibSSL search order. (#10230) 2019-01-08 09:50:25 +01:00
Araq
3f6168b337 removes deprecated T/P types 2018-11-16 13:27:56 +01:00
Solitude
ae36dfb747 Add .46 as supported libssl version (#9704) 2018-11-15 09:04:30 +01:00
LemonBoy
907969d69b Allocate OpenSSL memory outside of the thread heap
Prevent spurious segfaults when OpenSSL is used in multithreaded
environments since the library isn't able to handle thread-local memory.

Fixes #9016
2018-09-27 17:23:55 +02:00
momf
dd47013017 add SSL_set_SSL_CTX for SNI(Server Name Indication) (#8308)
* add SSL_set_SSL_CTX for SNI

* fix SSL_set_SSL_CTX
2018-07-13 17:09:22 +01:00
Emery Hemingway
5e54cd9fc9 Set Genode Openssl shared-object strings 2018-06-07 07:21:31 +02:00
Andreas Rumpf
7e8eadb6ba SSL implementation: added nimNoAllocForSSL 2018-05-27 11:31:27 +02:00
SolitudeSF
d4867cbcbd
link against libssl.so.45 2018-04-26 23:08:57 +03:00
Jacek Sieka
72dfe176f5 remove dead code elimination option (#7669) 2018-04-23 11:02:38 +02:00
Solitude
fc22627dbd libssl.so.44 fix (#7358) 2018-03-20 11:15:21 +01:00
Araq
7b2b0ebf7f OpenSSL: 32bit DLL names on Windows lack the -x32 suffix 2018-02-09 16:47:30 +01:00
Araq
6dc8bedb98 OpenSSL: use modern DLLs on Windows; export DLLSSLName and DLLUtilName for modules that need to expand on the openssl wrapper 2018-02-09 16:38:39 +01:00
Dominik Picheta
cdc54bec6f
Add note about OpenSSL 1.0.x support to openssl module. 2018-01-20 17:36:38 +00:00
Ruslan Mustakov
be2db6d67a Allow static linking with OpenSSL 1.0.x
This commit basically returns the code that was removed in
a78d7a31f7, but under 'openssl10'
define symbol. OpenSSL 1.0.2 is still actively maintained, so there is
no point in dropping support of it.
2018-01-20 19:26:00 +07:00
Federico Ceratto
a78d7a31f7 Add OpenSSL 1.1.0 support #5000
Add a simple online test
2017-12-28 21:57:43 +00:00
Yuriy Glukhov
3de81af44d Added a couple of procs for RSA verification (#6942) 2017-12-19 11:04:42 +01:00
Andreas Rumpf
6a3288a60e more replacements for the deprecated '<' 2017-10-29 08:55:30 +01:00
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