]> ruderich.org/simon Gitweb - tlsproxy/tlsproxy.git/commitdiff
Fix flags parameter type of initialize_tls_session_both().
authorSimon Ruderich <simon@ruderich.org>
Thu, 8 Aug 2013 20:13:15 +0000 (22:13 +0200)
committerSimon Ruderich <simon@ruderich.org>
Thu, 8 Aug 2013 20:13:15 +0000 (22:13 +0200)
src/connection.c

index a860a494c2b18e7d1bbe04b9f8902d7d77b83272..d69c2faf6c30874bb8f093ffeed0e260b2f7685a 100644 (file)
@@ -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) {