1
0
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:
Marton Balint
2025-08-26 00:07:32 +02:00
parent b2184a9741
commit f2be0e68ef
7 changed files with 1 additions and 6 deletions

View File

@@ -35,6 +35,7 @@
#define MAX_CERTIFICATE_SIZE 8192
typedef struct TLSShared {
const AVClass *class;
char *ca_file;
int verify;
char *cert_file;

View 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;

View File

@@ -32,7 +32,6 @@
#include <tls.h>
typedef struct TLSContext {
const AVClass *class;
TLSShared tls_shared;
struct tls *ctx;
} TLSContext;

View File

@@ -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;

View File

@@ -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;

View File

@@ -587,7 +587,6 @@ end:
}
typedef struct TLSContext {
const AVClass *class;
TLSShared tls_shared;
char *cert_store_subject;

View File

@@ -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;