changeset 386:fec256b5f3fd HEAD

Don't warn about invalid sessions.
author Timo Sirainen <tss@iki.fi>
date Wed, 09 Oct 2002 02:18:12 +0300
parents 595aa6817b7f
children eaaf0d2fea8d
files src/login/main.c src/login/ssl-proxy.c
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/login/main.c	Tue Oct 08 04:15:54 2002 +0300
+++ b/src/login/main.c	Wed Oct 09 02:18:12 2002 +0300
@@ -137,7 +137,7 @@
 	/* NOTE: we start rooted, so keep the code minimal until
 	   restrict_access_by_env() is called */
 	lib_init();
-	ioloop = io_loop_create();
+	ioloop = io_loop_create(system_pool);
 
 	main_init();
         io_loop_run(ioloop);
--- a/src/login/ssl-proxy.c	Tue Oct 08 04:15:54 2002 +0300
+++ b/src/login/ssl-proxy.c	Wed Oct 09 02:18:12 2002 +0300
@@ -82,7 +82,7 @@
 	if (!gnutls_error_is_fatal(sent))
 		return 0;
 
-	if (sent == GNUTLS_E_PUSH_ERROR) {
+	if (sent == GNUTLS_E_PUSH_ERROR || sent == GNUTLS_E_INVALID_SESSION) {
 		/* disconnected */
 		return -1;
 	}