~ubuntu-branches/ubuntu/lucid/openvpn/lucid

« back to all changes in this revision

Viewing changes to manage.c

  • Committer: Bazaar Package Importer
  • Author(s): Alberto Gonzalez Iniesta
  • Date: 2008-08-16 13:34:24 UTC
  • mfrom: (1.1.10 upstream)
  • Revision ID: james.westby@ubuntu.com-20080816133424-0i83yb6dw4hjglo1
Tags: 2.1~rc9-3
* debian/rules: run ./configure with path to 'route', for
  those build daemons without 'route'. (Closes: #495082)
* Created NEWS.Debian with info on new option script-security.
  (Closes: #494998)

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
 *             packet encryption, packet authentication, and
6
6
 *             packet compression.
7
7
 *
8
 
 *  Copyright (C) 2002-2008 OpenVPN Solutions LLC <info@openvpn.net>
 
8
 *  Copyright (C) 2002-2008 Telethra, Inc. <sales@openvpn.net>
9
9
 *
10
10
 *  This program is free software; you can redistribute it and/or modify
11
11
 *  it under the terms of the GNU General Public License version 2
630
630
static void
631
631
man_forget_passwords (struct management *man)
632
632
{
 
633
#if defined(USE_CRYPTO) && defined(USE_SSL)
633
634
  ssl_purge_auth ();
634
635
  msg (M_CLIENT, "SUCCESS: Passwords were forgotten");
 
636
#endif
635
637
}
636
638
 
637
639
static void
1375
1377
    }
1376
1378
  if (!exiting)
1377
1379
    {
 
1380
#if defined(USE_CRYPTO) && defined(USE_SSL)
1378
1381
      if (man->settings.flags & MF_FORGET_DISCONNECT)
1379
 
         ssl_purge_auth ();
1380
 
 
 
1382
        ssl_purge_auth ();
 
1383
#endif
1381
1384
      if (man->settings.flags & MF_SIGNAL) {
1382
1385
          int mysig = man_mod_signal (man, SIGUSR1);
1383
1386
          if (mysig >= 0)