0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-08-27 03:45:16 +02:00
Commit graph

10 commits

Author SHA1 Message Date
Aaron Jones
b17925378a
TLS Backends: Harmomise the rb_ssl_get_cipher() function
The GNUTLS backend reports the version in use for the client as well
as its ciphersuite -- do the same for the other 2 backends.
2016-08-20 04:18:23 +01:00
Aaron Jones
b8ae64e7e0
GNUTLS: Avoid null dereference in constructing ciphersuite 2016-08-19 20:29:49 +00:00
Aaron Jones
292cefd2b5
GNUTLS: Cleanup fingerprint generation
Removes intermediate buffer, properly check return values
2016-08-19 19:18:34 +00:00
Aaron Jones
3fccd78d32
openssl: Avoid use-after-free when rehashing fails to load new files
Commit cf12678 introduced a fix for issue #186 by freeing the old SSL_CTX
structure before constructing a new one, which could disconnect existing
clients otherwise.

Unfortunately, the freeing is done first, which means that if setting up
a new structure fails for any reason, there will be no usable structures
left, but they are still referenced.

This fix moves the freeing to the end of the function, using intermediate
new variables in the meantime. This problem was discovered while testing
against OpenSSL 1.1.0 RC6.
2016-08-12 13:37:37 +00:00
William Pitcock
7128b66c97 rb: remove export-syms.txt for now 2016-07-31 18:06:26 -05:00
William Pitcock
d7eb77c61b rb: import formatter library 2016-07-31 17:55:43 -05:00
Jason Volk
404239eb60 Build system cleanup. 2016-07-22 19:46:28 -07:00
Jason Volk
834964c659 Convert IRCd to C++
Happy 28th birthday. You're all grown up.
2016-07-22 19:46:27 -07:00
Jason Volk
ac4dda1e67 Towards a leak-free repository.
Adds a Makefile target 'mrproper' though this only works on new versions of AC.
2016-07-21 20:51:02 -07:00
Jason Volk
ea53aab823 Refactor repository layout.
* librb is no longer a separately configured subproject.
* charybdis is now a standalone directory with a binary.
* Include path layout now requires a directory ircd/ rb/ etc.
2016-07-21 20:51:02 -07:00