lib/hx509: declare and apply HX509_LIB_xxx macros
commit1dd38cc3de956a52b33a4ada57e9a7c5b1e4049f
authorJeffrey Altman <jaltman@secure-endpoints.com>
Wed, 2 Jan 2019 06:50:52 +0000 (2 01:50 -0500)
committerNico Williams <nico@cryptonector.com>
Wed, 2 Jan 2019 16:23:39 +0000 (2 10:23 -0600)
treebe621d71f4a553f611cfd8b765070162fd532fe2
parentbec4818943c8d5cbf8e7db9dfd8db037c8645d80
lib/hx509: declare and apply HX509_LIB_xxx macros

libhx509 is not built according to the same export and calling conventions
on Windows as the other libraries.  This change declares and applies
HX509_LIB_FUNCTION, HX509_LIB_NORETURN_FUNCTION, HX509_LIB_CALL and
HX509_LIB_VARIABLE to lib/hx509.

As a result of this change the calling convention for exported functions
will be __stdcall instead of __cdecl.

Change-Id: Ibc3f05e8088030ef7d13798f1d9c9b190bc57797
26 files changed:
include/config.h.w32
lib/hx509/NTMakefile
lib/hx509/ca.c
lib/hx509/cert.c
lib/hx509/cms.c
lib/hx509/collector.c
lib/hx509/crypto-ec.c
lib/hx509/crypto.c
lib/hx509/env.c
lib/hx509/error.c
lib/hx509/file.c
lib/hx509/keyset.c
lib/hx509/ks_dir.c
lib/hx509/ks_file.c
lib/hx509/ks_keychain.c
lib/hx509/ks_mem.c
lib/hx509/ks_null.c
lib/hx509/ks_p11.c
lib/hx509/ks_p12.c
lib/hx509/lock.c
lib/hx509/name.c
lib/hx509/peer.c
lib/hx509/print.c
lib/hx509/req.c
lib/hx509/revoke.c
lib/hx509/sel.c