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

« back to all changes in this revision

Viewing changes to include/ntp_md5.h

  • Committer: Bazaar Package Importer
  • Author(s): Kurt Roeckx
  • Date: 2009-11-26 22:16:37 UTC
  • mfrom: (1.2.6 upstream)
  • Revision ID: james.westby@ubuntu.com-20091126221637-lbtdp0ax1yg9t0bx
Tags: 1:4.2.4p7+dfsg-4
* Use uname -s instead of dpkg-architecture to found the kernel we're
  running on.  dpkg-architecture is part of dpkg-dev. (Closes: #558145)
* Make the package fail to build on hurd since it does not provided
  the needed system calls for ntpd to work.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
 * ntp_md5.h: deal with md5.h headers
3
3
 */
4
4
 
5
 
#ifdef HAVE_MD5_H
 
5
#ifdef OPENSSL
 
6
# include <openssl/md5.h>
 
7
#define MD5Init MD5_Init
 
8
#define MD5Update MD5_Update
 
9
#define MD5Final MD5_Final
 
10
#elif defined(HAVE_MD5_H)
6
11
# include <md5.h>
7
12
#else
8
13
# include "rsa_md5.h"