summaryrefslogtreecommitdiff
path: root/src/serv.c
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2002-09-02 09:11:03 +0000
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2002-09-02 09:11:03 +0000
commit669eb141353f354ce302921d1b495914f08859af (patch)
tree4b703dd4f314a1b76ae05b88637352b7eccf7f1d /src/serv.c
parent401483165735ba64053a40c0bcc176e160cd1743 (diff)
downloadgnutls-669eb141353f354ce302921d1b495914f08859af.tar.gz
*** empty log message ***
Diffstat (limited to 'src/serv.c')
-rw-r--r--src/serv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/serv.c b/src/serv.c
index f7f1d9c32d..a33f2d3325 100644
--- a/src/serv.c
+++ b/src/serv.c
@@ -140,7 +140,7 @@ static void listener_free (listener_item * j)
gnutls_bye ( j->tls_session, GNUTLS_SHUT_WR);
shutdown (j->fd, 2);
close (j->fd);
- gnutls_session_deinit (j->tls_session);
+ gnutls_deinit (j->tls_session);
}
}
@@ -255,7 +255,7 @@ gnutls_session initialize_session (void)
{
gnutls_session session;
- gnutls_session_init (&session, GNUTLS_SERVER);
+ gnutls_init (&session, GNUTLS_SERVER);
/* allow the use of private ciphersuites.
*/