Fix DH error-handling in tls_process_key_exchange.