1 /*
2  *  Copyright 1990,1994 by the Massachusetts Institute of Technology.
3  *  All Rights Reserved.
4  *
5  * Export of this software from the United States of America may
6  * require a specific license from the United States Government.
7  * It is the responsibility of any person or organization contemplating
8  * export to obtain such a license before exporting.
9  *
10  * WITHIN THAT CONSTRAINT, permission to use, copy, modify, and
11  * distribute this software and its documentation for any purpose and
12  * without fee is hereby granted, provided that the above copyright
13  * notice appear in all copies and that both that copyright notice and
14  * this permission notice appear in supporting documentation, and that
15  * the name of M.I.T. not be used in advertising or publicity pertaining
16  * to distribution of the software without specific, written prior
17  * permission.  Furthermore if you modify this software you must label
18  * your software as modified software and not distribute it in such a
19  * fashion that it might be confused with the original M.I.T. software.
20  * M.I.T. makes no representations about the suitability of
21  * this software for any purpose.  It is provided "as is" without express
22  * or implied warranty.
23  *
24  */
25 
26 /*
27  * stub functions for those without the hash library.
28  */
29 
30 #include "gssapiP_generic.h"
31 
32 #ifdef HAVE_SYS_TYPES_H
33 #include <sys/types.h>
34 #endif
35 #ifdef HAVE_LIMITS_H
36 #include <limits.h>
37 #endif
38 
39 /* functions for each type */
40 
41 /* save */
42 
g_save_name(vdb,name)43 int g_save_name(vdb, name)
44      void **vdb;
45      gss_name_t *name;
46 {
47 	return 1;
48 }
g_save_cred_id(vdb,cred)49 int g_save_cred_id(vdb, cred)
50      void **vdb;
51      gss_cred_id_t *cred;
52 {
53 	return 1;
54 }
g_save_ctx_id(vdb,ctx)55 int g_save_ctx_id(vdb, ctx)
56      void **vdb;
57      gss_ctx_id_t *ctx;
58 {
59 	return 1;
60 }
g_save_lucidctx_id(vdb,lctx)61 int g_save_lucidctx_id(vdb, lctx)
62      void **vdb;
63      void *lctx;
64 {
65 	return 1;
66 }
67 
68 /* validate */
69 
g_validate_name(vdb,name)70 int g_validate_name(vdb, name)
71      void **vdb;
72      gss_name_t *name;
73 {
74 	return 1;
75 }
g_validate_cred_id(vdb,cred)76 int g_validate_cred_id(vdb, cred)
77      void **vdb;
78      gss_cred_id_t *cred;
79 {
80 	return 1;
81 }
g_validate_ctx_id(vdb,ctx)82 int g_validate_ctx_id(vdb, ctx)
83      void **vdb;
84      gss_ctx_id_t *ctx;
85 {
86 	return 1;
87 }
g_validate_lucidctx_id(vdb,lctx)88 int g_validate_lucidctx_id(vdb, lctx)
89      void **vdb;
90      void *lctx;
91 {
92 	return 1;
93 }
94 
95 /* delete */
96 
g_delete_name(vdb,name)97 int g_delete_name(vdb, name)
98      void **vdb;
99      gss_name_t *name;
100 {
101 	return 1;
102 }
g_delete_cred_id(vdb,cred)103 int g_delete_cred_id(vdb, cred)
104      void **vdb;
105      gss_cred_id_t *cred;
106 {
107 	return 1;
108 }
g_delete_ctx_id(vdb,ctx)109 int g_delete_ctx_id(vdb, ctx)
110      void **vdb;
111      gss_ctx_id_t *ctx;
112 {
113 	return 1;
114 }
g_delete_lucidctx_id(vdb,lctx)115 int g_delete_lucidctx_id(vdb, lctx)
116      void **vdb;
117      void *lctx;
118 {
119 	return 1;
120 }
121 
122