(krb5_get_init_creds_opt_set_anonymous): add
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8016 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 1997 Kungliga Tekniska H<>gskolan
|
||||
* Copyright (c) 1997 - 2000 Kungliga Tekniska H<>gskolan
|
||||
* (Royal Institute of Technology, Stockholm, Sweden).
|
||||
* All rights reserved.
|
||||
*
|
||||
@@ -109,3 +109,11 @@ krb5_get_init_creds_opt_set_salt(krb5_get_init_creds_opt *opt,
|
||||
opt->flags |= KRB5_GET_INIT_CREDS_OPT_SALT;
|
||||
opt->salt = salt;
|
||||
}
|
||||
|
||||
void
|
||||
krb5_get_init_creds_opt_set_anonymous(krb5_get_init_creds_opt *opt,
|
||||
int anonymous)
|
||||
{
|
||||
opt->flags |= KRB5_GET_INIT_CREDS_OPT_ANONYMOUS;
|
||||
opt->anonymous = anonymous;
|
||||
}
|
||||
|
Reference in New Issue
Block a user