Switch back to mozilla_intermediate TLS preset for compatibility
							parent
							
								
									a194bb6c6f
								
							
						
					
					
						commit
						d1daad2773
					
				|  | @ -229,7 +229,7 @@ impl Connection { | ||||||
|         self.ice = Some((agent, stream)); |         self.ice = Some((agent, stream)); | ||||||
| 
 | 
 | ||||||
|         // Prepare to accept the DTLS connection
 |         // Prepare to accept the DTLS connection
 | ||||||
|         let mut acceptor = SslAcceptor::mozilla_modern(SslMethod::dtls()).unwrap(); |         let mut acceptor = SslAcceptor::mozilla_intermediate(SslMethod::dtls()).unwrap(); | ||||||
|         acceptor.set_certificate(&self.dtls_cert).unwrap(); |         acceptor.set_certificate(&self.dtls_cert).unwrap(); | ||||||
|         acceptor.set_private_key(&self.dtls_key).unwrap(); |         acceptor.set_private_key(&self.dtls_key).unwrap(); | ||||||
|         // FIXME: verify remote fingerprint
 |         // FIXME: verify remote fingerprint
 | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue