Changeset 29:5ba91682f0bc in freeDiameter for freeDiameter/server.c
- Timestamp:
- Oct 28, 2009, 3:19:50 PM (14 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
freeDiameter/server.c
r28 r29 116 116 /* Handshake if we are a secure server port, or start clear otherwise */ 117 117 if (s->secur) { 118 int ret = fd_cnx_handshake(c->conn, GNUTLS_SERVER, NULL );118 int ret = fd_cnx_handshake(c->conn, GNUTLS_SERVER, NULL, NULL); 119 119 if (ret != 0) { 120 120 if (TRACE_BOOL(INFO)) { … … 153 153 154 154 /* Finally, pass the information to the peers module which will handle it next */ 155 CHECK_FCT_DO( fd_peer_handle_newCER( &msg, &c->conn, s->secur ), goto fatal_error ); 155 pthread_cleanup_push((void *)fd_cnx_destroy, c->conn); 156 pthread_cleanup_push((void *)fd_msg_free, msg); 157 CHECK_FCT_DO( fd_peer_handle_newCER( &msg, &c->conn ), goto cleanup ); 158 pthread_cleanup_pop(0); 159 pthread_cleanup_pop(0); 156 160 157 161 /* The end, we cleanup the client structure */
Note: See TracChangeset
for help on using the changeset viewer.