You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-11-23 21:54:53 +02:00
avformat/tls: move AVClass to TLSShared
Signed-off-by: Marton Balint <cus@passwd.hu>
This commit is contained in:
@@ -35,6 +35,7 @@
|
||||
#define MAX_CERTIFICATE_SIZE 8192
|
||||
|
||||
typedef struct TLSShared {
|
||||
const AVClass *class;
|
||||
char *ca_file;
|
||||
int verify;
|
||||
char *cert_file;
|
||||
|
||||
@@ -44,7 +44,6 @@ GCRY_THREAD_OPTION_PTHREAD_IMPL;
|
||||
#endif
|
||||
|
||||
typedef struct TLSContext {
|
||||
const AVClass *class;
|
||||
TLSShared tls_shared;
|
||||
gnutls_session_t session;
|
||||
gnutls_certificate_credentials_t cred;
|
||||
|
||||
@@ -32,7 +32,6 @@
|
||||
#include <tls.h>
|
||||
|
||||
typedef struct TLSContext {
|
||||
const AVClass *class;
|
||||
TLSShared tls_shared;
|
||||
struct tls *ctx;
|
||||
} TLSContext;
|
||||
|
||||
@@ -40,7 +40,6 @@
|
||||
#include "libavutil/avstring.h"
|
||||
|
||||
typedef struct TLSContext {
|
||||
const AVClass *class;
|
||||
TLSShared tls_shared;
|
||||
mbedtls_ssl_context ssl_context;
|
||||
mbedtls_ssl_config ssl_config;
|
||||
|
||||
@@ -418,7 +418,6 @@ static X509 *cert_from_pem_string(const char *pem_str)
|
||||
|
||||
|
||||
typedef struct TLSContext {
|
||||
const AVClass *class;
|
||||
TLSShared tls_shared;
|
||||
SSL_CTX *ctx;
|
||||
SSL *ssl;
|
||||
|
||||
@@ -587,7 +587,6 @@ end:
|
||||
}
|
||||
|
||||
typedef struct TLSContext {
|
||||
const AVClass *class;
|
||||
TLSShared tls_shared;
|
||||
|
||||
char *cert_store_subject;
|
||||
|
||||
@@ -43,7 +43,6 @@ SecIdentityRef SecIdentityCreate(CFAllocatorRef allocator, SecCertificateRef cer
|
||||
#define ioErr -36
|
||||
|
||||
typedef struct TLSContext {
|
||||
const AVClass *class;
|
||||
TLSShared tls_shared;
|
||||
SSLContextRef ssl_context;
|
||||
CFArrayRef ca_array;
|
||||
|
||||
Reference in New Issue
Block a user