Deleted Added
full compact
5a6,8
> /* Do sha512 definitions in config.h */
> #undef COMPAT_SHA512
>
15a19,21
> /* default dnstap socket path */
> #undef DNSTAP_SOCKET_PATH
>
23a30,35
> /* Define to 1 if you have the `arc4random' function. */
> #undef HAVE_ARC4RANDOM
>
> /* Define to 1 if you have the `arc4random_uniform' function. */
> #undef HAVE_ARC4RANDOM_UNIFORM
>
44a57,64
> /* Define to 1 if you have the declaration of `arc4random', and to 0 if you
> don't. */
> #undef HAVE_DECL_ARC4RANDOM
>
> /* Define to 1 if you have the declaration of `arc4random_uniform', and to 0
> if you don't. */
> #undef HAVE_DECL_ARC4RANDOM_UNIFORM
>
60a81,88
> /* Define to 1 if you have the declaration of `strlcat', and to 0 if you
> don't. */
> #undef HAVE_DECL_STRLCAT
>
> /* Define to 1 if you have the declaration of `strlcpy', and to 0 if you
> don't. */
> #undef HAVE_DECL_STRLCPY
>
63a92,94
> /* Define to 1 if you have the <endian.h> header file. */
> #undef HAVE_ENDIAN_H
>
117a149,151
> /* Define to 1 if you have the `getentropy' function. */
> #undef HAVE_GETENTROPY
>
165a200,202
> /* Define if we have LibreSSL */
> #undef HAVE_LIBRESSL
>
258a296,298
> /* Define to 1 if you have the `SHA512_Update' function. */
> #undef HAVE_SHA512_UPDATE
>
324a365,367
> /* Define to 1 if you have the <sys/sha2.h> header file. */
> #undef HAVE_SYS_SHA2_H
>
330a374,376
> /* Define to 1 if you have the <sys/sysctl.h> header file. */
> #undef HAVE_SYS_SYSCTL_H
>
385,386c431
< /* Define to the sub-directory in which libtool stores uninstalled libraries.
< */
---
> /* Define to the sub-directory where libtool stores uninstalled libraries. */
495a541,543
> /* Define to 1 to enable dnstap support */
> #undef USE_DNSTAP
>
881a930,973
> #ifdef HAVE_LIBRESSL
> # if !HAVE_DECL_STRLCPY
> size_t strlcpy(char *dst, const char *src, size_t siz);
> # endif
> # if !HAVE_DECL_STRLCAT
> size_t strlcat(char *dst, const char *src, size_t siz);
> # endif
> # if !HAVE_DECL_ARC4RANDOM && defined(HAVE_ARC4RANDOM)
> uint32_t arc4random(void);
> # endif
> # if !HAVE_DECL_ARC4RANDOM_UNIFORM && defined(HAVE_ARC4RANDOM_UNIFORM)
> uint32_t arc4random_uniform(uint32_t upper_bound);
> # endif
> #endif /* HAVE_LIBRESSL */
> #ifndef HAVE_ARC4RANDOM
> void explicit_bzero(void* buf, size_t len);
> int getentropy(void* buf, size_t len);
> uint32_t arc4random(void);
> void arc4random_buf(void* buf, size_t n);
> void _ARC4_LOCK(void);
> void _ARC4_UNLOCK(void);
> #endif
> #ifndef HAVE_ARC4RANDOM_UNIFORM
> uint32_t arc4random_uniform(uint32_t upper_bound);
> #endif
> #ifdef COMPAT_SHA512
> #ifndef SHA512_DIGEST_LENGTH
> #define SHA512_BLOCK_LENGTH 128
> #define SHA512_DIGEST_LENGTH 64
> #define SHA512_DIGEST_STRING_LENGTH (SHA512_DIGEST_LENGTH * 2 + 1)
> typedef struct _SHA512_CTX {
> uint64_t state[8];
> uint64_t bitcount[2];
> uint8_t buffer[SHA512_BLOCK_LENGTH];
> } SHA512_CTX;
> #endif /* SHA512_DIGEST_LENGTH */
> void SHA512_Init(SHA512_CTX*);
> void SHA512_Update(SHA512_CTX*, void*, size_t);
> void SHA512_Final(uint8_t[SHA512_DIGEST_LENGTH], SHA512_CTX*);
> unsigned char *SHA512(void* data, unsigned int data_len, unsigned char *digest);
> #endif /* COMPAT_SHA512 */
>
>
>