aboutsummaryrefslogtreecommitdiff
path: root/crypto/krb5/doc/doxy_examples/cc_unique.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/krb5/doc/doxy_examples/cc_unique.c')
-rw-r--r--crypto/krb5/doc/doxy_examples/cc_unique.c23
1 files changed, 0 insertions, 23 deletions
diff --git a/crypto/krb5/doc/doxy_examples/cc_unique.c b/crypto/krb5/doc/doxy_examples/cc_unique.c
deleted file mode 100644
index 0a03edb5250e..000000000000
--- a/crypto/krb5/doc/doxy_examples/cc_unique.c
+++ /dev/null
@@ -1,23 +0,0 @@
-/** @example cc_unique.c
- *
- * Usage example for krb5_cc_new_unique function
- */
-#include "k5-int.h"
-
-krb5_error_code
-func(krb5_context context)
-{
- krb5_error_code ret;
- krb5_ccache ccache = NULL;
-
- ret = krb5_cc_new_unique(context, "MEMORY", NULL, &ccache);
- if (ret){
- ccache = NULL;
- return ret;
- }
- /* do something */
- if (ccache)
- (void)krb5_cc_destroy(context, ccache);
- return 0;
-}
-