64 |
memset(session.mta_username, 0, sizeof(session.mta_username)); |
memset(session.mta_username, 0, sizeof(session.mta_username)); |
65 |
memset(session.mta_password, 0, sizeof(session.mta_password)); |
memset(session.mta_password, 0, sizeof(session.mta_password)); |
66 |
|
|
67 |
#ifdef HAVE_TLS |
/* FIXME */ |
68 |
end_tls(CLIENT, secure.client); |
net_close(CLIENT, secure.client); |
69 |
end_tls(SERVER, secure.server); |
net_close(SERVER, secure.server); |
|
if (secure.xcred) |
|
|
gnutls_certificate_free_credentials(secure.xcred); |
|
|
if (secure.x509_cred) |
|
|
gnutls_certificate_free_credentials(secure.x509_cred); |
|
|
gnutls_global_deinit(); |
|
|
#endif /* HAVE_TLS */ |
|
|
|
|
|
#ifdef HAVE_SSL |
|
|
end_ssl(CLIENT, secure.client, secure.ctx_client); |
|
|
end_ssl(SERVER, secure.server, secure.ctx_server); |
|
|
#endif /* HAVE_SSL */ |
|
70 |
|
|
71 |
#ifdef HAVE_SYSLOG |
#ifdef HAVE_SYSLOG |
72 |
if ((topt & T_DAEMON) && !(topt & T_FOREGROUND)) |
if ((topt & T_DAEMON) && !(topt & T_FOREGROUND)) |