export internal functions so we dont need private headers
This commit is contained in:
@@ -847,6 +847,8 @@ typedef krb5_error_code
|
||||
*
|
||||
*/
|
||||
|
||||
struct hx509_certs_data;
|
||||
|
||||
#include <krb5-protos.h>
|
||||
|
||||
/* variables */
|
||||
|
@@ -766,8 +766,8 @@ EXPORTS
|
||||
_krb5_expand_path_tokens ;!
|
||||
|
||||
; kinit helper
|
||||
_krb5_get_init_creds_opt_set_pkinit_user_certs
|
||||
_krb5_pk_enterprise_cert
|
||||
krb5_get_init_creds_opt_set_pkinit_user_certs
|
||||
krb5_pk_enterprise_cert
|
||||
|
||||
; testing
|
||||
;! _krb5_aes_cts_encrypt
|
||||
|
@@ -2455,9 +2455,9 @@ krb5_get_init_creds_opt_set_pkinit(krb5_context context,
|
||||
}
|
||||
|
||||
krb5_error_code KRB5_LIB_FUNCTION
|
||||
_krb5_get_init_creds_opt_set_pkinit_user_certs(krb5_context context,
|
||||
krb5_get_init_creds_opt *opt,
|
||||
struct hx509_certs_data *certs)
|
||||
krb5_get_init_creds_opt_set_pkinit_user_certs(krb5_context context,
|
||||
krb5_get_init_creds_opt *opt,
|
||||
struct hx509_certs_data *certs)
|
||||
{
|
||||
#ifdef PKINIT
|
||||
if (opt->opt_private == NULL) {
|
||||
@@ -2529,11 +2529,11 @@ find_ms_san(hx509_context context, hx509_cert cert, void *ctx)
|
||||
*/
|
||||
|
||||
KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL
|
||||
_krb5_pk_enterprise_cert(krb5_context context,
|
||||
const char *user_id,
|
||||
krb5_const_realm realm,
|
||||
krb5_principal *principal,
|
||||
struct hx509_certs_data **res)
|
||||
krb5_pk_enterprise_cert(krb5_context context,
|
||||
const char *user_id,
|
||||
krb5_const_realm realm,
|
||||
krb5_principal *principal,
|
||||
struct hx509_certs_data **res)
|
||||
{
|
||||
#ifdef PKINIT
|
||||
krb5_error_code ret;
|
||||
|
@@ -756,8 +756,8 @@ HEIMDAL_KRB5_2.0 {
|
||||
_krb5_s4u2self_to_checksumdata;
|
||||
|
||||
# kinit helper
|
||||
_krb5_get_init_creds_opt_set_pkinit_user_certs;
|
||||
_krb5_pk_enterprise_cert;
|
||||
krb5_get_init_creds_opt_set_pkinit_user_certs;
|
||||
krb5_pk_enterprise_cert;
|
||||
|
||||
# testing
|
||||
_krb5_aes_cts_encrypt;
|
||||
|
Reference in New Issue
Block a user