usr/src/uts/common/gssapi/mechs/dummy/dmech.c
changeset 13452 6bec9720e054
parent 0 68f95e015346
child 14100 9a220e49d686
equal deleted inserted replaced
13451:4349f1403dad 13452:6bec9720e054
    20  * CDDL HEADER END
    20  * CDDL HEADER END
    21  */
    21  */
    22 /*
    22 /*
    23  * Copyright 2004 Sun Microsystems, Inc.  All rights reserved.
    23  * Copyright 2004 Sun Microsystems, Inc.  All rights reserved.
    24  * Use is subject to license terms.
    24  * Use is subject to license terms.
       
    25  * Copyright (c) 2011 Bayard G. Bell. All rights reserved.
    25  */
    26  */
    26 
       
    27 #pragma ident	"%Z%%M%	%I%	%E% SMI"
       
    28 
    27 
    29 /*
    28 /*
    30  * A module that implements a dummy security mechanism.
    29  * A module that implements a dummy security mechanism.
    31  * It's mainly used to test GSS-API application. Multiple tokens
    30  * It's mainly used to test GSS-API application. Multiple tokens
    32  * exchanged during security context establishment can be
    31  * exchanged during security context establishment can be
    33  * specified through dummy_mech.conf located in /etc.
    32  * specified through dummy_mech.conf located in /etc.
    34  */
    33  */
    35 
       
    36 char _depends_on[] = "misc/kgssapi";
       
    37 
    34 
    38 #include <sys/types.h>
    35 #include <sys/types.h>
    39 #include <sys/modctl.h>
    36 #include <sys/modctl.h>
    40 #include <sys/errno.h>
    37 #include <sys/errno.h>
    41 #include <gssapiP_dummy.h>
    38 #include <gssapiP_dummy.h>