1/* 2 * ntp_md5.h: deal with md5.h headers 3 * 4 * Use the system MD5 if available, otherwise libisc's. 5 */ 6#ifndef NTP_MD5_H 7#define NTP_MD5_H 8 9#ifdef OPENSSL
| 1/* 2 * ntp_md5.h: deal with md5.h headers 3 * 4 * Use the system MD5 if available, otherwise libisc's. 5 */ 6#ifndef NTP_MD5_H 7#define NTP_MD5_H 8 9#ifdef OPENSSL
|
10# include "openssl/evp.h"
| 10# include <openssl/evp.h>
|
11# include "libssl_compat.h"
| 11# include "libssl_compat.h"
|
| 12# ifdef HAVE_OPENSSL_CMAC_H 13# include <openssl/cmac.h> 14# define CMAC "AES128CMAC" 15# define AES_128_KEY_SIZE 16 16# endif /*HAVE_OPENSSL_CMAC_H*/
|
12#else /* !OPENSSL follows */ 13/* 14 * Provide OpenSSL-alike MD5 API if we're not using OpenSSL 15 */ 16# if defined HAVE_MD5_H && defined HAVE_MD5INIT 17# include <md5.h> 18# else 19# include "isc/md5.h"
--- 25 unchanged lines hidden --- | 17#else /* !OPENSSL follows */ 18/* 19 * Provide OpenSSL-alike MD5 API if we're not using OpenSSL 20 */ 21# if defined HAVE_MD5_H && defined HAVE_MD5INIT 22# include <md5.h> 23# else 24# include "isc/md5.h"
--- 25 unchanged lines hidden --- |