~ubuntu-branches/debian/squeeze/ntp/squeeze-201010051545

« back to all changes in this revision

Viewing changes to libopts/m4/liboptschk.m4

  • Committer: Bazaar Package Importer
  • Author(s): Kurt Roeckx
  • Date: 2009-01-05 21:10:03 UTC
  • mfrom: (1.2.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20090105211003-mh6zc3um4k1uhsj7
Tags: 1:4.2.4p4+dfsg-8
It did not properly check the return value of EVP_VerifyFinal
which results in an malformed DSA signature being treated as
a good signature rather than as an error.  (CVE-2009-0021)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# liboptschk.m4 serial 1 (autogen - 5.7.3)
 
2
dnl Copyright (C) 2005 Free Software Foundation, Inc.
 
3
dnl This file is free software; the Free Software Foundation
 
4
dnl gives unlimited permission to copy and/or distribute it,
 
5
dnl with or without modifications, as long as this notice is preserved.
 
6
 
 
7
dnl Time-stamp:        "2006-09-23 19:42:31 bkorb"
 
8
dnl Last Committed:    $Date: 2006/09/24 02:59:00 $
 
9
 
 
10
dnl This file can can be used in projects which are not available under
 
11
dnl the GNU General Public License or the GNU Library General Public
 
12
dnl License but which still want to provide support for the GNU gettext
 
13
dnl functionality.
 
14
dnl Please note that the actual code of the GNU gettext library is covered
 
15
dnl by the GNU Library General Public License, and the rest of the GNU
 
16
dnl gettext package package is covered by the GNU General Public License.
 
17
dnl They are *not* in the public domain.
 
18
 
 
19
dnl Authors:
 
20
dnl   Ulrich Drepper <drepper@cygnus.com>, 1995-2000.
 
21
dnl   Bruno Haible <haible@clisp.cons.org>, 2000-2003.
 
22
 
 
23
AC_PREREQ(2.50)
 
24
 
 
25
AC_DEFUN([ag_FIND_LIBOPTS],
 
26
    [if test "X${ac_cv_header_autoopts_options_h}" == Xno
 
27
    then
 
28
      :
 
29
    else
 
30
      f=`autoopts-config cflags` 2>/dev/null
 
31
      test X"${f}" = X && f=`libopts-config cflags` 2>/dev/null
 
32
      if test X"${f}" = X
 
33
      then
 
34
        :
 
35
      else
 
36
        AC_DEFINE([HAVE_LIBOPTS],[1],[define if we can find libopts])
 
37
        CFLAGS="${CFLAGS} ${f}"
 
38
        f=`autoopts-config ldflags` 2>/dev/null
 
39
        test X"${f}" = X && f=`libopts-config ldflags` 2>/dev/null
 
40
        LIBS="${LIBS} ${f}"
 
41
      fi
 
42
    fi])