• Guillaume Roguez's avatar
    Fix DhParams copy-assignment and copy-constructor · a17755c6
    Guillaume Roguez authored
    DhParams copy-assignement was implemented as non-op operator.
    This is weird for a copy to do nothing!
    No intends are indicated to help.
    Seems only done to help MSVC compiler, but this is WRONG
    and cause a SECURITY FAILURE as the DhParam is not set
    as supposed to be.
    Consequence observed on UWP daemon: the anonymous connection
    cannot be done and the certificate is always send in cleartext.
    
    The fix consists in using the dedicated gnutls API
    to copy correctly the internal dh_params C structure.
    This is used to implement copy-assignement and copy-constructor
    methods
    Reviewed-by: Andreas Traczyk's avatarAndreas Traczyk <andreas.traczyk@savoirfairelinux.com>
    Change-Id: I49d3a3fd2c0a2ed5fde0bd251efbad589c830c70
    a17755c6
Name
Last commit
Last update
..
client Loading commit data...
config Loading commit data...
dring Loading commit data...
hooks Loading commit data...
im Loading commit data...
media Loading commit data...
ringdht Loading commit data...
security Loading commit data...
sip Loading commit data...
upnp Loading commit data...
Makefile.am Loading commit data...
account.cpp Loading commit data...
account.h Loading commit data...
account_factory.cpp Loading commit data...
account_factory.h Loading commit data...
account_schema.h Loading commit data...
archiver.cpp Loading commit data...
archiver.h Loading commit data...
array_size.h Loading commit data...
base64.cpp Loading commit data...
base64.h Loading commit data...
buildinfo.cpp Loading commit data...
call.cpp Loading commit data...
call.h Loading commit data...
call_factory.cpp Loading commit data...
call_factory.h Loading commit data...
compiler_intrinsics.h Loading commit data...
conference.cpp Loading commit data...
conference.h Loading commit data...
dlfcn.c Loading commit data...
dlfcn.h Loading commit data...
enumclass_utils.h Loading commit data...
fileutils.cpp Loading commit data...
fileutils.h Loading commit data...
ice_socket.h Loading commit data...
ice_transport.cpp Loading commit data...
ice_transport.h Loading commit data...
ip_utils.cpp Loading commit data...
ip_utils.h Loading commit data...
logger.cpp Loading commit data...
logger.h Loading commit data...
manager.cpp Loading commit data...
manager.h Loading commit data...
map_utils.h Loading commit data...
noncopyable.h Loading commit data...
plugin_loader.h Loading commit data...
plugin_loader_dl.cpp Loading commit data...
plugin_manager.cpp Loading commit data...
plugin_manager.h Loading commit data...
preferences.cpp Loading commit data...
preferences.h Loading commit data...
rational.h Loading commit data...
registration_states.h Loading commit data...
ring_api.cpp Loading commit data...
ring_plugin.h Loading commit data...
ring_types.h Loading commit data...
rw_mutex.h Loading commit data...
smartools.cpp Loading commit data...
smartools.h Loading commit data...
string_utils.cpp Loading commit data...
string_utils.h Loading commit data...
thread_pool.cpp Loading commit data...
thread_pool.h Loading commit data...
threadloop.cpp Loading commit data...
threadloop.h Loading commit data...
utf8_utils.cpp Loading commit data...
utf8_utils.h Loading commit data...
windirent.h Loading commit data...
winsyslog.c Loading commit data...
winsyslog.h Loading commit data...