You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-06-25 14:23:15 +02:00
Merge commit '016387fe0fe3eff1a03ec0673bf4d2967f6cad94'
* commit '016387fe0fe3eff1a03ec0673bf4d2967f6cad94': rtmpdh: Don't use the OpenSSL DH struct Merged-by: Clément Bœsch <u@pkh.me>
This commit is contained in:
@ -26,7 +26,6 @@
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#if CONFIG_GMP || CONFIG_GCRYPT
|
||||
#if CONFIG_GMP
|
||||
#include <gmp.h>
|
||||
|
||||
@ -35,6 +34,12 @@ typedef mpz_ptr FFBigNum;
|
||||
#include <gcrypt.h>
|
||||
|
||||
typedef gcry_mpi_t FFBigNum;
|
||||
|
||||
#elif CONFIG_OPENSSL
|
||||
#include <openssl/bn.h>
|
||||
#include <openssl/dh.h>
|
||||
|
||||
typedef BIGNUM *FFBigNum;
|
||||
#endif
|
||||
|
||||
typedef struct FF_DH {
|
||||
@ -45,13 +50,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.
|
||||
|
Reference in New Issue
Block a user