]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/rtmpdh.h
rmdec: add missing brackets to compound statement
[ffmpeg] / libavformat / rtmpdh.h
index eb742dd937e2cf0561fc490536b4ab859cc8339e..b4d6121d85292df531db39142e3a3c9c69b84b40 100644 (file)
 
 #include "config.h"
 
-#if CONFIG_GMP || CONFIG_GCRYPT
 #if CONFIG_GMP
 #include <gmp.h>
 
 typedef mpz_ptr FFBigNum;
-#elif CONFIG_GCRYPT
-#include <gcrypt.h>
+#elif CONFIG_OPENSSL
+#include <openssl/bn.h>
+#include <openssl/dh.h>
 
-typedef gcry_mpi_t FFBigNum;
+typedef BIGNUM *FFBigNum;
 #endif
 
 typedef struct FF_DH {
@@ -45,13 +45,6 @@ typedef struct FF_DH {
     long length;
 } FF_DH;
 
-#elif CONFIG_OPENSSL
-#include <openssl/bn.h>
-#include <openssl/dh.h>
-
-typedef BIGNUM *FFBigNum;
-typedef DH FF_DH;
-#endif
 
 /**
  * Initialize a Diffie-Hellmann context.