mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-08 06:09:50 +00:00
Merge commit '016387fe0f'
* commit '016387fe0f':
rtmpdh: Don't use the OpenSSL DH struct
Merged-by: Clément Bœsch <u@pkh.me>
This commit is contained in:
commit
2c47d24358
2 changed files with 52 additions and 57 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue