~ubuntu-branches/ubuntu/trusty/ntop/trusty

« back to all changes in this revision

Viewing changes to ssl.c

  • Committer: Bazaar Package Importer
  • Author(s): Ola Lundqvist
  • Date: 2008-06-15 14:38:28 UTC
  • mfrom: (2.1.11 intrepid)
  • Revision ID: james.westby@ubuntu.com-20080615143828-oalh84nda2hje4do
Tags: 3:3.3-11
Correction of Polish translation encoding, closes: #479490. Thanks
to Christian Perrier <bubulle@debian.org> for the help.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
 * -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
3
3
 *                          http://www.ntop.org
4
4
 *
5
 
 * Copyright (C) 1998-2005 Luca Deri <deri@ntop.org>
 
5
 * Copyright (C) 1998-2007 Luca Deri <deri@ntop.org>
6
6
 *
7
7
 * -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
8
8
 *
304
304
int term_ssl_connection(int fd) {
305
305
  int i, rc;
306
306
 
307
 
  if(!myGlobals.sslInitialized) return;
 
307
  if(!myGlobals.sslInitialized) return(0);
308
308
 
309
309
  for(i=0; i<MAX_SSL_CONNECTIONS; i++) {
310
310
    if((myGlobals.ssl[i].ctx != NULL)
314
314
      myGlobals.ssl[i].ctx = NULL;
315
315
    }
316
316
  }
 
317
 
317
318
  return(rc);
318
319
}
319
320