summaryrefslogtreecommitdiff
path: root/player.h
diff options
context:
space:
mode:
authorMike Brady <mikebrady@eircom.net>2018-09-09 20:41:31 +0100
committerMike Brady <mikebrady@eircom.net>2018-09-09 20:41:31 +0100
commitc9b3d2a2f44e4919e80340e3482497ac066506ff (patch)
tree9f0545fa8a57aebda0b2b2be97c59bfa9b285e36 /player.h
parent69642bb7de2380a307d8710938bb161d96be845a (diff)
Many changes to compilation and linking flags. Stop using HAVE_* flags except where necessary, use CONFIG_* for optional stuff, use HAS_* for immediate definitions, use USE_* for AM definitions. Probably introduced bgs, sigh.
Diffstat (limited to 'player.h')
-rw-r--r--player.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/player.h b/player.h
index 3bc415e..fe7077b 100644
--- a/player.h
+++ b/player.h
@@ -7,17 +7,17 @@
#include "config.h"
#include "definitions.h"
-#ifdef HAVE_LIBMBEDTLS
+#ifdef CONFIG_MBEDTLS
#include <mbedtls/aes.h>
#include <mbedtls/havege.h>
#endif
-#ifdef HAVE_LIBPOLARSSL
+#ifdef CONFIG_POLARSSL
#include <polarssl/aes.h>
#include <polarssl/havege.h>
#endif
-#ifdef HAVE_LIBSSL
+#ifdef CONFIG_OPENSSL
#include <openssl/aes.h>
#endif
@@ -140,15 +140,15 @@ typedef struct {
uint64_t time_of_last_audio_packet;
seq_t ab_read, ab_write;
-#ifdef HAVE_LIBMBEDTLS
+#ifdef CONFIG_MBEDTLS
mbedtls_aes_context dctx;
#endif
-#ifdef HAVE_LIBPOLARSSL
+#ifdef CONFIG_POLARSSL
aes_context dctx;
#endif
-#ifdef HAVE_LIBSSL
+#ifdef CONFIG_OPENSSL
AES_KEY aes;
#endif