comparison OrthancFramework/Sources/DicomNetworking/DicomAssociation.cpp @ 5643:b1a18218860c

2 new configurations: DicomTlsMinimumProtocolVersion + DicomTlsCiphersAccepted
author Alain Mazy <am@orthanc.team>
date Fri, 31 May 2024 16:56:35 +0200
parents f7adfb22e20e
children
comparison
equal deleted inserted replaced
5642:95e282478cda 5643:b1a18218860c
298 { 298 {
299 try 299 try
300 { 300 {
301 assert(net_ != NULL && 301 assert(net_ != NULL &&
302 params_ != NULL); 302 params_ != NULL);
303
304 tls_.reset(Internals::InitializeDicomTls(net_, NET_REQUESTOR, parameters.GetOwnPrivateKeyPath(), 303 tls_.reset(Internals::InitializeDicomTls(net_, NET_REQUESTOR, parameters.GetOwnPrivateKeyPath(),
305 parameters.GetOwnCertificatePath(), 304 parameters.GetOwnCertificatePath(),
306 parameters.GetTrustedCertificatesPath(), 305 parameters.GetTrustedCertificatesPath(),
307 parameters.IsRemoteCertificateRequired())); 306 parameters.IsRemoteCertificateRequired(),
307 parameters.GetMinimumTlsVersion(),
308 parameters.GetAcceptedCiphers()));
308 } 309 }
309 catch (OrthancException&) 310 catch (OrthancException&)
310 { 311 {
311 CloseInternal(); 312 CloseInternal();
312 throw; 313 throw;