"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "libavformat/rtmpdh.h" between
libav-12.1.tar.gz and libav-12.2.tar.gz

About: libav provides cross-platform tools ("avconv") and libraries to convert, manipulate and stream a wide range of multimedia (audio and video) formats and protocols.

rtmpdh.h  (libav-12.1):rtmpdh.h  (libav-12.2)
skipping to change at line 29 skipping to change at line 29
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
#ifndef AVFORMAT_RTMPDH_H #ifndef AVFORMAT_RTMPDH_H
#define AVFORMAT_RTMPDH_H #define AVFORMAT_RTMPDH_H
#include <stdint.h> #include <stdint.h>
#include "config.h" #include "config.h"
#if CONFIG_GMP || CONFIG_GCRYPT
#if CONFIG_GMP #if CONFIG_GMP
#include <gmp.h> #include <gmp.h>
typedef mpz_ptr FFBigNum; typedef mpz_ptr FFBigNum;
#elif CONFIG_GCRYPT #elif CONFIG_GCRYPT
#include <gcrypt.h> #include <gcrypt.h>
typedef gcry_mpi_t FFBigNum; typedef gcry_mpi_t FFBigNum;
#elif CONFIG_OPENSSL
#include <openssl/bn.h>
#include <openssl/dh.h>
typedef BIGNUM *FFBigNum;
#endif #endif
typedef struct FF_DH { typedef struct FF_DH {
FFBigNum p; FFBigNum p;
FFBigNum g; FFBigNum g;
FFBigNum pub_key; FFBigNum pub_key;
FFBigNum priv_key; FFBigNum priv_key;
long length; long length;
} FF_DH; } 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. * Initialize a Diffie-Hellmann context.
* *
* @param key_len length of the key * @param key_len length of the key
* @return a new Diffie-Hellmann context on success, NULL otherwise * @return a new Diffie-Hellmann context on success, NULL otherwise
*/ */
FF_DH *ff_dh_init(int key_len); FF_DH *ff_dh_init(int key_len);
/** /**
* Free a Diffie-Hellmann context. * Free a Diffie-Hellmann context.
 End of changes. 3 change blocks. 
9 lines changed or deleted 6 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)