Commit e63a1e18 e63a1e18a5d16e9f41837c32f164c319992b3581 by Wojciech Polak

Fixed

1 parent 854237f2
......@@ -389,8 +389,10 @@ pop3d_mainloop (int fd, FILE *infile, FILE *outfile)
}
#ifdef WITH_TLS
pop3d_deinit_tls_server ();
mu_deinit_tls_libs ();
if (tls_done)
pop3d_deinit_tls_server ();
if (tls_available)
mu_deinit_tls_libs ();
#endif /* WITH_TLS */
return (status != OK);
......
......@@ -180,8 +180,10 @@ extern char *md5shared;
extern volatile size_t children;
extern struct daemon_param daemon_param;
extern int debug_mode;
#ifdef WITH_TLS
extern int tls_available;
extern int tls_done;
#endif /* WITH_TLS */
extern int pop3d_abquit __P ((int));
extern int pop3d_apop __P ((const char *));
......@@ -215,5 +217,10 @@ extern char *pop3d_readline __P ((char *, size_t));
extern void pop3d_flush_output __P ((void));
extern int pop3d_is_master __P ((void));
#ifdef WITH_TLS
extern int pop3d_init_tls_server __P ((void));
extern void pop3d_deinit_tls_server __P ((void));
#endif /* WITH_TLS */
#endif /* _POP3D_H */
......