WIN32: fix calling conventions for 32-bit builds
On 32-bit Windows Intel builds the __cdecl and __stdcall calling conventions are different so labeling the functions that are exported or assigned to function pointers matters. Change-Id: I03b6f34baeb9ffb2e683fd979f12f27a5078a4da
This commit is contained in:
@@ -891,7 +891,7 @@ struct ocsp_add_ctx {
|
||||
hx509_cert parent;
|
||||
};
|
||||
|
||||
static int
|
||||
static int HX509_LIB_CALL
|
||||
add_to_req(hx509_context context, void *ptr, hx509_cert cert)
|
||||
{
|
||||
struct ocsp_add_ctx *ctx = ptr;
|
||||
@@ -1477,7 +1477,7 @@ hx509_crl_free(hx509_context context, hx509_crl *crl)
|
||||
*crl = NULL;
|
||||
}
|
||||
|
||||
static int
|
||||
static int HX509_LIB_CALL
|
||||
add_revoked(hx509_context context, void *ctx, hx509_cert cert)
|
||||
{
|
||||
TBSCRLCertList *c = ctx;
|
||||
|
Reference in New Issue
Block a user