export internal functions so we dont need private headers
This commit is contained in:
@@ -39,12 +39,6 @@
|
|||||||
#include <Security/Security.h>
|
#include <Security/Security.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
struct krb5_dh_moduli;
|
|
||||||
struct AlgorithmIdentifier;
|
|
||||||
struct _krb5_krb_auth_data;
|
|
||||||
struct hx509_certs_data;
|
|
||||||
#include <krb5-private.h>
|
|
||||||
|
|
||||||
#ifndef NO_NTLM
|
#ifndef NO_NTLM
|
||||||
#include "heimntlm.h"
|
#include "heimntlm.h"
|
||||||
#endif
|
#endif
|
||||||
@@ -457,7 +451,7 @@ get_new_tickets(krb5_context context,
|
|||||||
if (ret)
|
if (ret)
|
||||||
krb5_err(context, 1, ret, "krb5_get_init_creds_opt_set_pkinit");
|
krb5_err(context, 1, ret, "krb5_get_init_creds_opt_set_pkinit");
|
||||||
if (ent_user_id)
|
if (ent_user_id)
|
||||||
_krb5_get_init_creds_opt_set_pkinit_user_certs(context, opt, ent_user_id);
|
krb5_get_init_creds_opt_set_pkinit_user_certs(context, opt, ent_user_id);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (addrs_flag != -1)
|
if (addrs_flag != -1)
|
||||||
@@ -768,7 +762,7 @@ main (int argc, char **argv)
|
|||||||
parseflags |= KRB5_PRINCIPAL_PARSE_ENTERPRISE;
|
parseflags |= KRB5_PRINCIPAL_PARSE_ENTERPRISE;
|
||||||
|
|
||||||
if (pk_enterprise_flag) {
|
if (pk_enterprise_flag) {
|
||||||
ret = _krb5_pk_enterprise_cert(context, pk_user_id,
|
ret = krb5_pk_enterprise_cert(context, pk_user_id,
|
||||||
argv[0], &principal,
|
argv[0], &principal,
|
||||||
&ent_user_id);
|
&ent_user_id);
|
||||||
if (ret)
|
if (ret)
|
||||||
|
@@ -847,6 +847,8 @@ typedef krb5_error_code
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
struct hx509_certs_data;
|
||||||
|
|
||||||
#include <krb5-protos.h>
|
#include <krb5-protos.h>
|
||||||
|
|
||||||
/* variables */
|
/* variables */
|
||||||
|
@@ -766,8 +766,8 @@ EXPORTS
|
|||||||
_krb5_expand_path_tokens ;!
|
_krb5_expand_path_tokens ;!
|
||||||
|
|
||||||
; kinit helper
|
; kinit helper
|
||||||
_krb5_get_init_creds_opt_set_pkinit_user_certs
|
krb5_get_init_creds_opt_set_pkinit_user_certs
|
||||||
_krb5_pk_enterprise_cert
|
krb5_pk_enterprise_cert
|
||||||
|
|
||||||
; testing
|
; testing
|
||||||
;! _krb5_aes_cts_encrypt
|
;! _krb5_aes_cts_encrypt
|
||||||
|
@@ -2455,7 +2455,7 @@ krb5_get_init_creds_opt_set_pkinit(krb5_context context,
|
|||||||
}
|
}
|
||||||
|
|
||||||
krb5_error_code KRB5_LIB_FUNCTION
|
krb5_error_code KRB5_LIB_FUNCTION
|
||||||
_krb5_get_init_creds_opt_set_pkinit_user_certs(krb5_context context,
|
krb5_get_init_creds_opt_set_pkinit_user_certs(krb5_context context,
|
||||||
krb5_get_init_creds_opt *opt,
|
krb5_get_init_creds_opt *opt,
|
||||||
struct hx509_certs_data *certs)
|
struct hx509_certs_data *certs)
|
||||||
{
|
{
|
||||||
@@ -2529,7 +2529,7 @@ find_ms_san(hx509_context context, hx509_cert cert, void *ctx)
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL
|
KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL
|
||||||
_krb5_pk_enterprise_cert(krb5_context context,
|
krb5_pk_enterprise_cert(krb5_context context,
|
||||||
const char *user_id,
|
const char *user_id,
|
||||||
krb5_const_realm realm,
|
krb5_const_realm realm,
|
||||||
krb5_principal *principal,
|
krb5_principal *principal,
|
||||||
|
@@ -756,8 +756,8 @@ HEIMDAL_KRB5_2.0 {
|
|||||||
_krb5_s4u2self_to_checksumdata;
|
_krb5_s4u2self_to_checksumdata;
|
||||||
|
|
||||||
# kinit helper
|
# kinit helper
|
||||||
_krb5_get_init_creds_opt_set_pkinit_user_certs;
|
krb5_get_init_creds_opt_set_pkinit_user_certs;
|
||||||
_krb5_pk_enterprise_cert;
|
krb5_pk_enterprise_cert;
|
||||||
|
|
||||||
# testing
|
# testing
|
||||||
_krb5_aes_cts_encrypt;
|
_krb5_aes_cts_encrypt;
|
||||||
|
Reference in New Issue
Block a user