Changeset View
Changeset View
Standalone View
Standalone View
crypto/openssh/ssh-gss.h
/* $OpenBSD: ssh-gss.h,v 1.14 2018/07/10 09:13:30 djm Exp $ */ | /* $OpenBSD: ssh-gss.h,v 1.14 2018/07/10 09:13:30 djm Exp $ */ | ||||
/* $FreeBSD$ */ | |||||
/* | /* | ||||
* Copyright (c) 2001-2003 Simon Wilkinson. All rights reserved. | * Copyright (c) 2001-2003 Simon Wilkinson. All rights reserved. | ||||
* | * | ||||
* Redistribution and use in source and binary forms, with or without | * Redistribution and use in source and binary forms, with or without | ||||
* modification, are permitted provided that the following conditions | * modification, are permitted provided that the following conditions | ||||
* are met: | * are met: | ||||
* 1. Redistributions of source code must retain the above copyright | * 1. Redistributions of source code must retain the above copyright | ||||
* notice, this list of conditions and the following disclaimer. | * notice, this list of conditions and the following disclaimer. | ||||
Show All 13 Lines | |||||
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||||
*/ | */ | ||||
#ifndef _SSH_GSS_H | #ifndef _SSH_GSS_H | ||||
#define _SSH_GSS_H | #define _SSH_GSS_H | ||||
#ifdef GSSAPI | #ifdef GSSAPI | ||||
#ifdef HAVE_GSSAPI_H | #if defined(HAVE_GSSAPI_GSSAPI_H) | ||||
#include <gssapi.h> | |||||
#elif defined(HAVE_GSSAPI_GSSAPI_H) | |||||
#include <gssapi/gssapi.h> | #include <gssapi/gssapi.h> | ||||
#elif defined(HAVE_GSSAPI_H) | |||||
#include <gssapi.h> | |||||
#endif | #endif | ||||
#ifdef KRB5 | #ifdef KRB5 | ||||
# ifndef HEIMDAL | # ifndef HEIMDAL | ||||
# ifdef HAVE_GSSAPI_GENERIC_H | # ifdef HAVE_GSSAPI_GENERIC_H | ||||
# include <gssapi_generic.h> | # include <gssapi_generic.h> | ||||
# elif defined(HAVE_GSSAPI_GSSAPI_GENERIC_H) | # elif defined(HAVE_GSSAPI_GSSAPI_GENERIC_H) | ||||
# include <gssapi/gssapi_generic.h> | # include <gssapi/gssapi_generic.h> | ||||
▲ Show 20 Lines • Show All 97 Lines • Show Last 20 Lines |