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

« back to all changes in this revision

Viewing changes to ntpd/ppsapi_timepps.h

  • 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
/* ppsapi_timepps.h */
 
2
 
 
3
/*
 
4
 * This logic first tries to get the timepps.h file from a standard
 
5
 * location, and then from our include/ subdirectory.
 
6
 */
 
7
 
 
8
#ifdef HAVE_TIMEPPS_H
 
9
# include <timepps.h>
 
10
#else
 
11
# ifdef HAVE_SYS_TIMEPPS_H
 
12
#  include <sys/timepps.h>
 
13
# else
 
14
#  ifdef HAVE_CIOGETEV
 
15
#   include "timepps-SunOS.h"
 
16
#  else
 
17
#   ifdef HAVE_TIOCGPPSEV
 
18
#    include "timepps-Solaris.h"
 
19
#   else
 
20
#    ifdef TIOCDCDTIMESTAMP
 
21
#     include "timepps-SCO.h"
 
22
#    endif
 
23
#   endif
 
24
#  endif
 
25
# endif
 
26
#endif