VirtualBox

Ignore:
Timestamp:
Apr 22, 2025 1:23:25 PM (4 weeks ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
168586
Message:

openssl-3.4.1: Applied our changes, regenerated files, added missing files and functions. This time with a three way merge. ​bugref:10890

Location:
trunk/src/libs/openssl-3.4.1
Files:
1 added
1 edited
1 copied

Legend:

Unmodified
Added
Removed
  • trunk/src/libs/openssl-3.4.1/gen-includes/openssl/ssl.h

    r108206 r109052  
    236236typedef struct tls_sigalgs_st TLS_SIGALGS;
    237237typedef struct ssl_conf_ctx_st SSL_CONF_CTX;
    238 typedef struct ssl_comp_st SSL_COMP;
    239238
    240239STACK_OF(SSL_CIPHER);
    241 STACK_OF(SSL_COMP);
    242240
    243241/* SRTP protection profiles for use with the use_srtp extension (RFC 5764)*/
     
    10241022#define sk_SSL_CIPHER_deep_copy(sk, copyfunc, freefunc) ((STACK_OF(SSL_CIPHER) *)OPENSSL_sk_deep_copy(ossl_check_const_SSL_CIPHER_sk_type(sk), ossl_check_SSL_CIPHER_copyfunc_type(copyfunc), ossl_check_SSL_CIPHER_freefunc_type(freefunc)))
    10251023#define sk_SSL_CIPHER_set_cmp_func(sk, cmp) ((sk_SSL_CIPHER_compfunc)OPENSSL_sk_set_cmp_func(ossl_check_SSL_CIPHER_sk_type(sk), ossl_check_SSL_CIPHER_compfunc_type(cmp)))
    1026 SKM_DEFINE_STACK_OF_INTERNAL(SSL_COMP, SSL_COMP, SSL_COMP)
    1027 #define sk_SSL_COMP_num(sk) OPENSSL_sk_num(ossl_check_const_SSL_COMP_sk_type(sk))
    1028 #define sk_SSL_COMP_value(sk, idx) ((SSL_COMP *)OPENSSL_sk_value(ossl_check_const_SSL_COMP_sk_type(sk), (idx)))
    1029 #define sk_SSL_COMP_new(cmp) ((STACK_OF(SSL_COMP) *)OPENSSL_sk_new(ossl_check_SSL_COMP_compfunc_type(cmp)))
    1030 #define sk_SSL_COMP_new_null() ((STACK_OF(SSL_COMP) *)OPENSSL_sk_new_null())
    1031 #define sk_SSL_COMP_new_reserve(cmp, n) ((STACK_OF(SSL_COMP) *)OPENSSL_sk_new_reserve(ossl_check_SSL_COMP_compfunc_type(cmp), (n)))
    1032 #define sk_SSL_COMP_reserve(sk, n) OPENSSL_sk_reserve(ossl_check_SSL_COMP_sk_type(sk), (n))
    1033 #define sk_SSL_COMP_free(sk) OPENSSL_sk_free(ossl_check_SSL_COMP_sk_type(sk))
    1034 #define sk_SSL_COMP_zero(sk) OPENSSL_sk_zero(ossl_check_SSL_COMP_sk_type(sk))
    1035 #define sk_SSL_COMP_delete(sk, i) ((SSL_COMP *)OPENSSL_sk_delete(ossl_check_SSL_COMP_sk_type(sk), (i)))
    1036 #define sk_SSL_COMP_delete_ptr(sk, ptr) ((SSL_COMP *)OPENSSL_sk_delete_ptr(ossl_check_SSL_COMP_sk_type(sk), ossl_check_SSL_COMP_type(ptr)))
    1037 #define sk_SSL_COMP_push(sk, ptr) OPENSSL_sk_push(ossl_check_SSL_COMP_sk_type(sk), ossl_check_SSL_COMP_type(ptr))
    1038 #define sk_SSL_COMP_unshift(sk, ptr) OPENSSL_sk_unshift(ossl_check_SSL_COMP_sk_type(sk), ossl_check_SSL_COMP_type(ptr))
    1039 #define sk_SSL_COMP_pop(sk) ((SSL_COMP *)OPENSSL_sk_pop(ossl_check_SSL_COMP_sk_type(sk)))
    1040 #define sk_SSL_COMP_shift(sk) ((SSL_COMP *)OPENSSL_sk_shift(ossl_check_SSL_COMP_sk_type(sk)))
    1041 #define sk_SSL_COMP_pop_free(sk, freefunc) OPENSSL_sk_pop_free(ossl_check_SSL_COMP_sk_type(sk),ossl_check_SSL_COMP_freefunc_type(freefunc))
    1042 #define sk_SSL_COMP_insert(sk, ptr, idx) OPENSSL_sk_insert(ossl_check_SSL_COMP_sk_type(sk), ossl_check_SSL_COMP_type(ptr), (idx))
    1043 #define sk_SSL_COMP_set(sk, idx, ptr) ((SSL_COMP *)OPENSSL_sk_set(ossl_check_SSL_COMP_sk_type(sk), (idx), ossl_check_SSL_COMP_type(ptr)))
    1044 #define sk_SSL_COMP_find(sk, ptr) OPENSSL_sk_find(ossl_check_SSL_COMP_sk_type(sk), ossl_check_SSL_COMP_type(ptr))
    1045 #define sk_SSL_COMP_find_ex(sk, ptr) OPENSSL_sk_find_ex(ossl_check_SSL_COMP_sk_type(sk), ossl_check_SSL_COMP_type(ptr))
    1046 #define sk_SSL_COMP_find_all(sk, ptr, pnum) OPENSSL_sk_find_all(ossl_check_SSL_COMP_sk_type(sk), ossl_check_SSL_COMP_type(ptr), pnum)
    1047 #define sk_SSL_COMP_sort(sk) OPENSSL_sk_sort(ossl_check_SSL_COMP_sk_type(sk))
    1048 #define sk_SSL_COMP_is_sorted(sk) OPENSSL_sk_is_sorted(ossl_check_const_SSL_COMP_sk_type(sk))
    1049 #define sk_SSL_COMP_dup(sk) ((STACK_OF(SSL_COMP) *)OPENSSL_sk_dup(ossl_check_const_SSL_COMP_sk_type(sk)))
    1050 #define sk_SSL_COMP_deep_copy(sk, copyfunc, freefunc) ((STACK_OF(SSL_COMP) *)OPENSSL_sk_deep_copy(ossl_check_const_SSL_COMP_sk_type(sk), ossl_check_SSL_COMP_copyfunc_type(copyfunc), ossl_check_SSL_COMP_freefunc_type(freefunc)))
    1051 #define sk_SSL_COMP_set_cmp_func(sk, cmp) ((sk_SSL_COMP_compfunc)OPENSSL_sk_set_cmp_func(ossl_check_SSL_COMP_sk_type(sk), ossl_check_SSL_COMP_compfunc_type(cmp)))
    10521024
    10531025
     
    16451617__owur int SSL_clear(SSL *s);
    16461618
     1619#ifndef OPENSSL_NO_DEPRECATED_3_4
     1620OSSL_DEPRECATEDIN_3_4_FOR("not Y2038-safe, replace with SSL_CTX_flush_sessions_ex()")
    16471621void SSL_CTX_flush_sessions(SSL_CTX *ctx, long tm);
     1622#endif
     1623void SSL_CTX_flush_sessions_ex(SSL_CTX *ctx, time_t tm);
    16481624
    16491625__owur const SSL_CIPHER *SSL_get_current_cipher(const SSL *s);
     
    17571733__owur const char *SSL_state_string_long(const SSL *s);
    17581734__owur const char *SSL_rstate_string_long(const SSL *s);
     1735
     1736#ifndef OPENSSL_NO_DEPRECATED_3_4
     1737OSSL_DEPRECATEDIN_3_4_FOR("not Y2038-safe, replace with SSL_SESSION_get_time_ex()")
    17591738__owur long SSL_SESSION_get_time(const SSL_SESSION *s);
     1739OSSL_DEPRECATEDIN_3_4_FOR("not Y2038-safe, replace with SSL_SESSION_set_time_ex()")
    17601740__owur long SSL_SESSION_set_time(SSL_SESSION *s, long t);
     1741#endif
    17611742__owur long SSL_SESSION_get_timeout(const SSL_SESSION *s);
    17621743__owur long SSL_SESSION_set_timeout(SSL_SESSION *s, long t);
     
    23302311void *SSL_CTX_get_record_padding_callback_arg(const SSL_CTX *ctx);
    23312312int SSL_CTX_set_block_padding(SSL_CTX *ctx, size_t block_size);
     2313int SSL_CTX_set_block_padding_ex(SSL_CTX *ctx, size_t app_block_size,
     2314                                 size_t hs_block_size);
    23322315
    23332316int SSL_set_record_padding_callback(SSL *ssl,
     
    23372320void *SSL_get_record_padding_callback_arg(const SSL *ssl);
    23382321int SSL_set_block_padding(SSL *ssl, size_t block_size);
    2339 
     2322int SSL_set_block_padding_ex(SSL *ssl, size_t app_block_size,
     2323                             size_t hs_block_size);
    23402324int SSL_set_num_tickets(SSL *s, size_t num_tickets);
    23412325size_t SSL_get_num_tickets(const SSL *s);
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette