Don't pollute namespace, generate public headerfile

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15532 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2005-06-30 01:54:49 +00:00
parent 43e3b9ca50
commit 7a3fc5e663
15 changed files with 285 additions and 291 deletions

View File

@@ -271,7 +271,7 @@ pk_encrypt_key(krb5_context context,
}
void
pk_free_client_param(krb5_context context, pk_client_params *client_params)
_pk_free_client_param(krb5_context context, pk_client_params *client_params)
{
if (client_params->certificate)
_krb5_pk_cert_free(client_params->certificate);
@@ -508,10 +508,10 @@ verify_trusted_ca(PA_PK_AS_REQ_19 *r)
#endif /* 0 */
krb5_error_code
pk_rd_padata(krb5_context context,
KDC_REQ *req,
PA_DATA *pa,
pk_client_params **ret_params)
_pk_rd_padata(krb5_context context,
KDC_REQ *req,
PA_DATA *pa,
pk_client_params **ret_params)
{
pk_client_params *client_params;
krb5_error_code ret;
@@ -1169,12 +1169,12 @@ pk_mk_pa_reply_dh(krb5_context context,
*/
krb5_error_code
pk_mk_pa_reply(krb5_context context,
pk_client_params *client_params,
const hdb_entry *client,
const KDC_REQ *req,
krb5_keyblock **reply_key,
METHOD_DATA *md)
_pk_mk_pa_reply(krb5_context context,
pk_client_params *client_params,
const hdb_entry *client,
const KDC_REQ *req,
krb5_keyblock **reply_key,
METHOD_DATA *md)
{
krb5_error_code ret;
void *buf;
@@ -1432,11 +1432,11 @@ pk_principal_from_X509(krb5_context context,
/* XXX match with issuer too ? */
krb5_error_code
pk_check_client(krb5_context context,
krb5_principal client_princ,
const hdb_entry *client,
pk_client_params *client_params,
char **subject_name)
_pk_check_client(krb5_context context,
krb5_principal client_princ,
const hdb_entry *client,
pk_client_params *client_params,
char **subject_name)
{
struct krb5_pk_cert *client_cert = client_params->certificate;
krb5_principal cert_princ;
@@ -1522,7 +1522,7 @@ add_principal_mapping(const char *principal_name, const char * subject)
krb5_error_code
pk_initialize(const char *user_id, const char *x509_anchors)
_pk_initialize(const char *user_id, const char *x509_anchors)
{
const char *mapping_file;
krb5_error_code ret;