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