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:
@@ -1205,7 +1205,7 @@ struct sigctx {
|
||||
hx509_certs pool;
|
||||
};
|
||||
|
||||
static int
|
||||
static int HX509_LIB_CALL
|
||||
sig_process(hx509_context context, void *ctx, hx509_cert cert)
|
||||
{
|
||||
struct sigctx *sigctx = ctx;
|
||||
@@ -1423,7 +1423,7 @@ sig_process(hx509_context context, void *ctx, hx509_cert cert)
|
||||
return ret;
|
||||
}
|
||||
|
||||
static int
|
||||
static int HX509_LIB_CALL
|
||||
cert_process(hx509_context context, void *ctx, hx509_cert cert)
|
||||
{
|
||||
struct sigctx *sigctx = ctx;
|
||||
|
Reference in New Issue
Block a user