From: Simon Ruderich Date: Thu, 8 Aug 2013 20:13:15 +0000 (+0200) Subject: Fix flags parameter type of initialize_tls_session_both(). X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=2baa95ccbe4631bafa59fb2200d5758f38943073;p=tlsproxy%2Ftlsproxy.git Fix flags parameter type of initialize_tls_session_both(). --- diff --git a/src/connection.c b/src/connection.c index a860a49..d69c2fa 100644 --- a/src/connection.c +++ b/src/connection.c @@ -59,7 +59,7 @@ static int initialize_tls_session_client(int peer_socket, static int initialize_tls_session_server(int peer_socket, gnutls_session_t *session, gnutls_certificate_credentials_t *x509_cred); -static int initialize_tls_session_both(int flags, +static int initialize_tls_session_both(unsigned int flags, int peer_socket, gnutls_session_t *session, gnutls_certificate_credentials_t *x509_cred); @@ -457,7 +457,7 @@ static int initialize_tls_session_server(int peer_socket, return initialize_tls_session_both(GNUTLS_CLIENT, peer_socket, session, x509_cred); } -static int initialize_tls_session_both(int flags, +static int initialize_tls_session_both(unsigned int flags, int peer_socket, gnutls_session_t *session, gnutls_certificate_credentials_t *x509_cred) {