Revert "Remove more gnutls references."

This reverts commit 6a25507e90.
This commit is contained in:
Antoine Beaupré 2013-06-10 12:18:43 -04:00
parent ef861b0567
commit 608e20b4fa
3 changed files with 4 additions and 3 deletions

View file

@ -27,7 +27,8 @@ Necessary Requirements:
Feature Specific Requirements: Feature Specific Requirements:
- For SSL Clients, SSL Challenge controlled OPER feature, and encrypted server links, - For SSL Clients, SSL Challenge controlled OPER feature, and encrypted server links,
a working OpenSSL library. a working OpenSSL library or GnuTLS library. CHALLENGE is not supported on GnuTLS
yet.
- For encrypted oper and (optional) server passwords, a working DES, MD5, or SHA library - For encrypted oper and (optional) server passwords, a working DES, MD5, or SHA library
implementing crypt(). implementing crypt().

View file

@ -1,6 +1,6 @@
#if !defined(HAVE_OPENSSL) && !defined(HAVE_ARC4RANDOM) #if !defined(HAVE_OPENSSL) && !defined(HAVE_GNUTLS) && !defined(HAVE_ARC4RANDOM)
void arc4random_stir(void); void arc4random_stir(void);
uint32_t arc4random(void); uint32_t arc4random(void);
void arc4random_addrandom(uint8_t *dat, int datlen); void arc4random_addrandom(uint8_t *dat, int datlen);

View file

@ -31,7 +31,7 @@
#include <libratbox_config.h> #include <libratbox_config.h>
#include <ratbox_lib.h> #include <ratbox_lib.h>
#if !defined(HAVE_OPENSSL) && !defined(HAVE_ARC4RANDOM) #if !defined(HAVE_OPENSSL) && !defined(HAVE_GNUTLS) && !defined(HAVE_ARC4RANDOM)
#include "arc4random.h" #include "arc4random.h"