* - client-side server cert validation (?).
*/
-
+
/*****************************************************************************
* Preamble
*****************************************************************************/
#define DH_BITS_TEXT N_("Diffie-Hellman prime bits")
#define DH_BITS_LONGTEXT N_( \
- "Allows you to modify the Diffie-Hellman prime's number of bits" \
+ "Allows you to modify the Diffie-Hellman prime's number of bits " \
"(used for TLS or SSL-based server-side encryption)." )
vlc_module_begin();
gnutls_transport_set_ptr (p_sys->session, (gnutls_transport_ptr)fd);
- msg_Dbg( p_session->p_tls, "shaking hand..." );
do
/* TODO: handle fatal error */
val = gnutls_handshake( p_sys->session );
free( p_session );
return NULL;
}
- msg_Dbg( p_session->p_tls, "shaked hand." );
return p_session;
}
return vlc_mutex_unlock ((vlc_mutex_t *)*lock);
}
-static struct gcry_thread_cbs gcry_threads_vlc =
+static struct gcry_thread_cbs gcry_threads_vlc =
{
GCRY_THREAD_OPTION_USER,
NULL,