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