~ubuntu-branches/ubuntu/hardy/openswan/hardy-updates

« back to all changes in this revision

Viewing changes to linux/lib/libfreeswan/version.in.c

  • Committer: Bazaar Package Importer
  • Author(s): Rene Mayrhofer
  • Date: 2005-01-27 16:10:11 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20050127161011-idgybmyz3vwhpfiq
Tags: 2.3.0-2
Urgency HIGH due to security issue and problems with build-deps in sarge.
* Fix the security issue. Please see
  http://www.idefense.com/application/poi/display?id=190&
      type=vulnerabilities&flashstatus=false
  for more details. Thanks to Martin Schulze for informing me about
  this issue.
  Closes: #292458: Openswan XAUTH/PAM Buffer Overflow Vulnerability
* Added a Build-Dependency to lynx.
  Closes: #291143: openswan: FTBFS: Missing build dependency.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*
2
 
 * return IPsec version information
3
 
 * Copyright (C) 2001  Henry Spencer.
4
 
 * 
5
 
 * This library is free software; you can redistribute it and/or modify it
6
 
 * under the terms of the GNU Library General Public License as published by
7
 
 * the Free Software Foundation; either version 2 of the License, or (at your
8
 
 * option) any later version.  See <http://www.fsf.org/copyleft/lgpl.txt>.
9
 
 * 
10
 
 * This library is distributed in the hope that it will be useful, but
11
 
 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
12
 
 * or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Library General Public
13
 
 * License for more details.
14
 
 *
15
 
 * RCSID $Id: version.in.c,v 1.3.36.1 2004/03/21 05:23:31 mcr Exp $
16
 
 */
17
 
 
18
 
#ifdef __KERNEL__
19
 
#include <linux/netdevice.h>
20
 
#endif
21
 
 
22
 
#include "openswan.h"
23
 
 
24
 
#define V       "xxx"           /* substituted in by Makefile */
25
 
static const char openswan_number[] = V;
26
 
static const char openswan_string[] = "Linux FreeS/WAN " V;
27
 
 
28
 
/*
29
 
 - ipsec_version_code - return IPsec version number/code, as string
30
 
 */
31
 
const char *
32
 
ipsec_version_code()
33
 
{
34
 
        return openswan_number;
35
 
}
36
 
 
37
 
/*
38
 
 - ipsec_version_string - return full version string
39
 
 */
40
 
const char *
41
 
ipsec_version_string()
42
 
{
43
 
        return openswan_string;
44
 
}