mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-30 18:57:27 +02:00
Fix api signature
This commit is contained in:
@ -11811,7 +11811,7 @@ cleanup:
|
|||||||
}
|
}
|
||||||
#endif /* SESSION_CERTS && OPENSSL_EXTRA */
|
#endif /* SESSION_CERTS && OPENSSL_EXTRA */
|
||||||
|
|
||||||
WOLFSSL_X509_STORE* wolfSSL_CTX_get_cert_store(WOLFSSL_CTX* ctx)
|
WOLFSSL_X509_STORE* wolfSSL_CTX_get_cert_store(const WOLFSSL_CTX* ctx)
|
||||||
{
|
{
|
||||||
if (ctx == NULL) {
|
if (ctx == NULL) {
|
||||||
return NULL;
|
return NULL;
|
||||||
@ -11819,7 +11819,7 @@ cleanup:
|
|||||||
|
|
||||||
if (ctx->x509_store_pt != NULL)
|
if (ctx->x509_store_pt != NULL)
|
||||||
return ctx->x509_store_pt;
|
return ctx->x509_store_pt;
|
||||||
return &ctx->x509_store;
|
return &((WOLFSSL_CTX*)ctx)->x509_store;
|
||||||
}
|
}
|
||||||
|
|
||||||
void wolfSSL_CTX_set_cert_store(WOLFSSL_CTX* ctx, WOLFSSL_X509_STORE* str)
|
void wolfSSL_CTX_set_cert_store(WOLFSSL_CTX* ctx, WOLFSSL_X509_STORE* str)
|
||||||
|
@ -931,7 +931,7 @@ wolfSSL_X509_STORE_set_verify_cb((WOLFSSL_X509_STORE *)(s), (WOLFSSL_X509_STORE_
|
|||||||
#endif
|
#endif
|
||||||
#define SSL_set0_verify_cert_store wolfSSL_set0_verify_cert_store
|
#define SSL_set0_verify_cert_store wolfSSL_set0_verify_cert_store
|
||||||
#define SSL_set1_verify_cert_store wolfSSL_set1_verify_cert_store
|
#define SSL_set1_verify_cert_store wolfSSL_set1_verify_cert_store
|
||||||
#define SSL_CTX_get_cert_store(x) wolfSSL_CTX_get_cert_store ((WOLFSSL_CTX*) (x))
|
#define SSL_CTX_get_cert_store(x) wolfSSL_CTX_get_cert_store ((x))
|
||||||
#define SSL_get_client_CA_list wolfSSL_get_client_CA_list
|
#define SSL_get_client_CA_list wolfSSL_get_client_CA_list
|
||||||
#define SSL_set_client_CA_list wolfSSL_set_client_CA_list
|
#define SSL_set_client_CA_list wolfSSL_set_client_CA_list
|
||||||
#define SSL_get_ex_data_X509_STORE_CTX_idx wolfSSL_get_ex_data_X509_STORE_CTX_idx
|
#define SSL_get_ex_data_X509_STORE_CTX_idx wolfSSL_get_ex_data_X509_STORE_CTX_idx
|
||||||
|
@ -145,7 +145,7 @@ WOLFSSL_API WOLFSSL_ASN1_STRING* wolfSSL_a2i_IPADDRESS(const char* ipa);
|
|||||||
|
|
||||||
#define BASIC_CONSTRAINTS_free wolfSSL_BASIC_CONSTRAINTS_free
|
#define BASIC_CONSTRAINTS_free wolfSSL_BASIC_CONSTRAINTS_free
|
||||||
#define AUTHORITY_KEYID_free wolfSSL_AUTHORITY_KEYID_free
|
#define AUTHORITY_KEYID_free wolfSSL_AUTHORITY_KEYID_free
|
||||||
#define SSL_CTX_get_cert_store(x) wolfSSL_CTX_get_cert_store ((WOLFSSL_CTX*) (x))
|
#define SSL_CTX_get_cert_store(x) wolfSSL_CTX_get_cert_store ((x))
|
||||||
#define ASN1_INTEGER WOLFSSL_ASN1_INTEGER
|
#define ASN1_INTEGER WOLFSSL_ASN1_INTEGER
|
||||||
#define ASN1_OCTET_STRING WOLFSSL_ASN1_STRING
|
#define ASN1_OCTET_STRING WOLFSSL_ASN1_STRING
|
||||||
#define X509V3_EXT_get wolfSSL_X509V3_EXT_get
|
#define X509V3_EXT_get wolfSSL_X509V3_EXT_get
|
||||||
|
@ -4493,7 +4493,7 @@ WOLFSSL_API int wolfSSL_set0_verify_cert_store(WOLFSSL *ssl,
|
|||||||
WOLFSSL_X509_STORE* str);
|
WOLFSSL_X509_STORE* str);
|
||||||
WOLFSSL_API int wolfSSL_set1_verify_cert_store(WOLFSSL *ssl,
|
WOLFSSL_API int wolfSSL_set1_verify_cert_store(WOLFSSL *ssl,
|
||||||
WOLFSSL_X509_STORE* str);
|
WOLFSSL_X509_STORE* str);
|
||||||
WOLFSSL_API WOLFSSL_X509_STORE* wolfSSL_CTX_get_cert_store(WOLFSSL_CTX* ctx);
|
WOLFSSL_API WOLFSSL_X509_STORE* wolfSSL_CTX_get_cert_store(const WOLFSSL_CTX* ctx);
|
||||||
#endif /* OPENSSL_EXTRA || WOLFSSL_WPAS_SMALL */
|
#endif /* OPENSSL_EXTRA || WOLFSSL_WPAS_SMALL */
|
||||||
#if defined(OPENSSL_EXTRA) || defined(WOLFSSL_WPAS_SMALL) || \
|
#if defined(OPENSSL_EXTRA) || defined(WOLFSSL_WPAS_SMALL) || \
|
||||||
defined(HAVE_SECRET_CALLBACK)
|
defined(HAVE_SECRET_CALLBACK)
|
||||||
|
Reference in New Issue
Block a user