Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37537129
en ru br
ALT Linux repositórios
S:1.11.0-alt1

Group :: Rede/Acesso Remoto
RPM: tigervnc

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Patch: Ubuntu-rh_tigervnc-working-tls-on-fips-systems.patch
Download


Description: Get TigerVNC's TLS working on fips systems.
Author: <unknown>
Index: pkg-tigervnc/common/rfb/SSecurityTLS.cxx
===================================================================
--- pkg-tigervnc.orig/common/rfb/SSecurityTLS.cxx
+++ pkg-tigervnc/common/rfb/SSecurityTLS.cxx
@@ -201,7 +201,7 @@ void SSecurityTLS::setParams(gnutls_sess
   if (gnutls_dh_params_init(&dh_params) != GNUTLS_E_SUCCESS)
     throw AuthFailureException("gnutls_dh_params_init failed");
 
-  if (gnutls_dh_params_generate2(dh_params, DH_BITS) != GNUTLS_E_SUCCESS)
+  if (gnutls_dh_params_generate2(dh_params, gnutls_sec_param_to_pk_bits(GNUTLS_PK_DH, GNUTLS_SEC_PARAM_MEDIUM)) != GNUTLS_E_SUCCESS)
     throw AuthFailureException("gnutls_dh_params_generate2 failed");
 
   if (anon) {
 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009