~ubuntu-branches/ubuntu/vivid/postfix/vivid-proposed

« back to all changes in this revision

Viewing changes to src/tlsproxy/tlsproxy_state.c

  • Committer: Package Import Robot
  • Author(s): LaMont Jones
  • Date: 2012-03-20 13:47:16 UTC
  • mfrom: (1.1.33)
  • mto: This revision was merged to the branch mainline in revision 44.
  • Revision ID: package-import@ubuntu.com-20120320134716-v7ab94fmor2z9pvp
Tags: upstream-2.9.1
ImportĀ upstreamĀ versionĀ 2.9.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
46
46
/* .IP remote_endpt
47
47
/*      Printable remote endpoint name.
48
48
/*      The destructor will automatically destroy the string.
 
49
/* .IP server_id
 
50
/*      TLS session cache identifier.
 
51
/*      The destructor will automatically destroy the string.
49
52
/* DIAGNOSTICS
50
53
/*      All errors are fatal.
51
54
/* LICENSE
103
106
    state->ciphertext_timer = 0;
104
107
    state->timeout = -1;
105
108
    state->remote_endpt = 0;
 
109
    state->server_id = 0;
106
110
    state->tls_context = 0;
107
111
 
108
112
    return (state);
126
130
        msg_info("DISCONNECT %s", state->remote_endpt);
127
131
        myfree(state->remote_endpt);
128
132
    }
 
133
    if (state->server_id)
 
134
        myfree(state->server_id);
129
135
    if (state->tls_context)
130
136
        tls_free_context(state->tls_context);
131
137
    myfree((char *) state);