Jim Hague
cd62f2b716
Don't include OpenSSL headers in config.h.
...
Add an include of stdlib.h to various files that were relying on config.h to drag it in. I don't think config.h should be pulling in standard C headers.
2019-10-15 18:37:10 +01:00
Jim Hague
5db0d03b13
Enable building on Windows with Visual Studio.
...
The change mostly consists of removing or replacing non-standard (usually POSIX) header includes.
Guards for replacements for inet_ntop(), inet_pton() and gettimeofday() are updated; the first two are macros on Windows, so the guards are changed to HAVE_DECL. gettimeofday() is present on MinGW builds but not Visual Studio, so that has a function check.
2019-10-15 10:09:17 +01:00
Jim Hague
3fe0c94357
Merge branch 'develop' into feature/abstract-tls
2019-01-14 19:09:20 +00:00
Willem Toorop
390e383a1a
ED25519 & ED448 DNSSEC validation support
2018-12-03 14:33:21 +01:00
Willem Toorop
4b688443f4
Sync with unbound
2018-12-03 12:50:37 +01:00
Willem Toorop
e3b007a43a
Issue #410 : Document ownership with getdns_context_get_api_information()
...
+ const for extensions and namespaces
TODO: Look at other cases that are not const for no good reason.
Thanks Stefan Bühler
2018-11-27 16:59:47 +01:00
Jim Hague
2267863a53
Attempt to improve the preprocessor horror that is util/val_secalgo.h.
...
Convert the main util/val_secalgo.h to a plain interface. Move the preprocessor redefines into validator/val_secalgo.h, and move THAT under openssl, because it is OpenSSL implementation specific at present - you can compile with NSS and Nettle if config allows.
2018-11-23 16:28:55 +00:00
Jim Hague
da94b52f74
Move val_secalgo.c to openssl.
...
It contains ports other than OpenSSL (NSS and NETTLE), but we're not worrying about those for our purposes at present.
2018-11-20 16:21:06 +00:00
Willem Toorop
000fa94ae2
Sync ldns & utils with unbound
2018-05-22 12:44:13 +02:00
Willem Toorop
1ebd54a1de
Utils from unbound update
2018-02-12 15:54:43 +01:00
Willem Toorop
2ed2871549
Merge branch 'develop' into features/zeroconf-dnssec
2017-08-30 15:09:39 +02:00
Willem Toorop
f949f4a136
Sync with unbound
2017-08-22 12:42:52 +02:00
Willem Toorop
44065bead8
Initial windows work
2017-07-06 00:26:21 +02:00
Willem Toorop
9b548a76c9
Resync with Unbound
2017-06-08 14:48:22 +02:00
Willem Toorop
a3fe958387
Sync with unbound
2017-03-20 16:41:57 +01:00
Christian Huitema
ed66edf52a
Making sure that the project compiles on Windows when HAVE_MDNS_SUPPORT is present.
...
Moving the 2 additional LRU functions from mdns.c to lruhash.c
Defining the 2 additional functions in lruhash.h
2017-03-17 12:19:54 -07:00
Willem Toorop
f751de696a
Import lruhash and lookup3 from unbound
2017-03-09 12:08:53 +01:00
Willem Toorop
dd656b7421
More comprehensible auxiliary directory names
...
(in src/util)
2017-03-09 10:44:38 +01:00
Willem Toorop
0ecaf163d9
Update original source directly
2017-03-08 23:14:24 +01:00
Willem Toorop
e02442eb98
Original val_secalgo files + symbol mapping
2017-03-08 23:04:52 +01:00
Willem Toorop
ec685e900d
Map rbtree symbols
2017-03-08 22:10:22 +01:00
Willem Toorop
d20bbde25e
Fixed time allocation and free for fd_events
2017-02-16 22:41:37 +01:00
Willem Toorop
45ee18e285
Merge branch 'fixed_eventloop' of https://github.com/neilcook/getdns into neilcook-fixed_eventloop
2017-01-18 12:05:32 +01:00
Willem Toorop
9a3b01ed62
DSA support with OpenSSL 1.1.0
2017-01-13 12:48:15 +01:00
Neil Cook
d3b097fffe
Rewrite default_eventloop to use hash tables instead of arrays
2016-12-14 15:52:44 +00:00
Willem Toorop
bb3d741f7a
OpenSSL 1.1 support
2016-10-31 10:24:07 +01:00
Willem Toorop
74b57d4679
Resync utils with unbound source
2016-07-14 13:33:11 +02:00
Willem Toorop
e4955d69ef
Updates from unbound
2016-03-24 11:14:14 +01:00
Melinda Shore
4b5c61145a
Merge pull request #144 from wtoorop/devel/default_eventloop
...
Devel/default eventloop
2016-03-14 20:02:57 -08:00
Willem Toorop
4a4339f023
load gost algorithm if digest is seen before key algorithm
2016-02-26 12:20:16 +01:00
Willem Toorop
4fd8d3dddd
Replace mini_event extension by default_eventloop
...
* default_eventloop was prototyped in getdns_query and is still in there as my_eventloop
* It interfaces directly with the scheduling primitives of getdns.
* It can operate entirely from stack and does not have to do
any memory allocations or deallocations.
* Adapted configure.ac to allow libunbound to be linked with Windows
(with the removal of winsock_event.c we have no symbol clashed anymore)
* Added STUB_TCP_WOULDBLOCK return code in stub_resolving helper functions,
to anticipate dealing with edge triggered event loops (versus level triggered). (i.e. Windows)
2016-01-12 15:52:14 +01:00
Willem Toorop
9d3905459e
Miscellaneous fixes to compile on windows
...
Also without warnings.
2015-12-24 14:41:50 +01:00
Willem Toorop
caba5f19d5
Merge branch 'develop' into features/windows-support
2015-12-24 11:01:26 +01:00
Willem Toorop
5663f914fb
Mode debug marco's to own header
...
To reduce dependency location fixes in test directory.
2015-12-18 13:40:52 +01:00
unknown
22a8550caa
Bug fix in get_os_defaults, clean up code in winsock_event, add code to handle event handling differences in Winsock2
2015-12-04 16:12:43 -05:00
unknown
2d58ed465c
Changes for Windows, Fix configure.ac to take in a winsock option to configure and generafigure, add ifdef's to stub out windows code for other platforms.
2015-11-22 22:38:13 -05:00
Willem Toorop
d8cc7b1ba3
Native signature verification
2015-09-25 11:48:58 +02:00
Willem Toorop
2e4c0928f7
Import unbound's crypto
2015-09-23 16:48:54 +02:00
Willem Toorop
450aabefcc
Make util symbols private (i.e. prefix _getdns)
2015-08-19 16:07:01 +02:00
Willem Toorop
42bdaaa69d
We already redefined minievent symbols
2015-05-21 15:02:51 +02:00
Willem Toorop
114e459a43
Make things work on FreeBSD again
2014-10-31 14:17:30 +01:00
Neel Goyal
75d163427c
Fix some warnings on OSX
2014-10-17 17:41:43 -04:00
Willem Toorop
54e0b42dcd
Timeouts via default mini_event extension
2014-10-06 23:04:12 +02:00
Willem Toorop
17e5262acc
Import mini_event & rbtree from unbound
2014-09-24 13:50:28 +02:00