~ubuntu-branches/ubuntu/jaunty/freeradius/jaunty-updates

« back to all changes in this revision

Viewing changes to src/include/md4.h

  • Committer: Bazaar Package Importer
  • Author(s): Chuck Short
  • Date: 2008-09-22 08:42:02 UTC
  • mfrom: (1.1.12 upstream)
  • Revision ID: james.westby@ubuntu.com-20080922084202-eyjprg3z55481ha5
Tags: 2.1.0+dfsg-0ubuntu1
* New upstream release.
* Fixes FTBFS issue with new libtool.
* Fixes listen on random port. (LP: #261809)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
2
 * md4.h        Structures and prototypes for md4.
3
3
 *
4
 
 * Version:     $Id: md4.h,v 1.14 2007/11/23 13:46:55 aland Exp $
 
4
 * Version:     $Id$
5
5
 * License:             LGPL, but largely derived from a public domain source.
6
6
 *
7
7
 */
10
10
#define _FR_MD4_H
11
11
 
12
12
#include <freeradius-devel/ident.h>
13
 
RCSIDH(md4_h, "$Id: md4.h,v 1.14 2007/11/23 13:46:55 aland Exp $")
 
13
RCSIDH(md4_h, "$Id$")
14
14
 
15
15
#ifdef HAVE_INTTYPES_H
16
16
#include <inttypes.h>
28
28
 
29
29
void fr_md4_calc (unsigned char *, const unsigned char *, unsigned int);
30
30
 
 
31
#ifndef WITH_OPENSSL_MD4
31
32
/*  The below was retrieved from
32
33
 *  http://www.openbsd.org/cgi-bin/cvsweb/src/include/md4.h?rev=1.12
33
34
 *  With the following changes: uint64_t => uint32_t[2]
77
78
/*              __attribute__((__bounded__(__minbytes__,1,4)))
78
79
                __attribute__((__bounded__(__minbytes__,2,MD4_BLOCK_LENGTH)))*/;
79
80
/*__END_DECLS*/
 
81
#else  /* WITH_OPENSSL_MD4 */
 
82
 
 
83
#include <openssl/md4.h>
 
84
 
 
85
#define FR_MD4_CTX      MD4_CTX
 
86
#define fr_MD4Init      MD4_Init
 
87
#define fr_MD4Update    MD4_Update
 
88
#define fr_MD4Final     MD4_Final
 
89
#define fr_MD4Transform MD4_Transform
 
90
#endif
80
91
 
81
92
#endif /* _FR_MD4_H */