From 1fe7ab74f27d679a06e47b3cd2e692b03219f2c8 Mon Sep 17 00:00:00 2001 From: Assar Westerlund Date: Sat, 4 Mar 2000 15:58:18 +0000 Subject: [PATCH] (krb5_get_init_creds_opt_set_anonymous): add git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8016 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/krb5/init_creds.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/lib/krb5/init_creds.c b/lib/krb5/init_creds.c index 74698efa0..cd007506a 100644 --- a/lib/krb5/init_creds.c +++ b/lib/krb5/init_creds.c @@ -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; +}