lib/krb5: prevent build failures of krb5_plugin_common on Windows
commit434b34d71c39820b4e2415dca646a39bee1086fb
authorJeffrey Altman <jaltman@secure-endpoints.com>
Fri, 8 Feb 2019 04:04:16 +0000 (7 23:04 -0500)
committerJeffrey Altman <jaltman@auristor.com>
Wed, 22 May 2019 02:20:14 +0000 (21 22:20 -0400)
tree1760a96f6b2e0c0774ee5793ae7cba6ca9eb7393
parentac6fa4cadc2bded960319a8da7be4194b50580c5
lib/krb5: prevent build failures of krb5_plugin_common on Windows

The Microsoft compiler cannot handle multiple const modifiers
for the same type.    It is also unhappy with the output pointer
parameter being declared const.

This change introduces new typedefs and cast of the dlsym() return
type to prevent warnings.

Change-Id: Ia92645efab8d2ec6745339a6f47c690782ae730a
lib/krb5/ccache_plugin.h
lib/krb5/common_plugin.h
lib/krb5/plugin.c