Make kerberos4 conditional.

This commit is contained in:
Jordan K. Hubbard 1999-12-14 00:47:23 +00:00
parent 241109ce4f
commit 883db2a0de
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=54582
4 changed files with 16 additions and 0 deletions

View File

@ -91,7 +91,11 @@ static Distribution DistTable[] = {
/* The DES distribution (not for export!) */
static Distribution DESDistTable[] = {
{ "des", "/", &DESDists, DIST_DES_DES, NULL },
#if __FreeBSD__ > 3
{ "krb4", "/", &DESDists, DIST_DES_KERBEROS4, NULL },
#else
{ "krb", "/", &DESDists, DIST_DES_KERBEROS, NULL },
#endif
{ "ssecure", "/usr/src", &DESDists, DIST_DES_SSECURE, NULL },
{ "scrypto", "/usr/src", &DESDists, DIST_DES_SCRYPTO, NULL },
{ "skerbero", "/usr/src", &DESDists, DIST_DES_SKERBEROS, NULL },

View File

@ -37,7 +37,11 @@
#define DIST_DES_DES 0x0001
#define DIST_DES_SCRYPTO 0x0002
#define DIST_DES_SSECURE 0x0004
#if __FreeBSD__ > 3
#define DIST_DES_KERBEROS4 0x0008
#else
#define DIST_DES_KERBEROS 0x0008
#endif
#define DIST_DES_SKERBEROS 0x0010
/* Subtypes for SRC distribution */

View File

@ -91,7 +91,11 @@ static Distribution DistTable[] = {
/* The DES distribution (not for export!) */
static Distribution DESDistTable[] = {
{ "des", "/", &DESDists, DIST_DES_DES, NULL },
#if __FreeBSD__ > 3
{ "krb4", "/", &DESDists, DIST_DES_KERBEROS4, NULL },
#else
{ "krb", "/", &DESDists, DIST_DES_KERBEROS, NULL },
#endif
{ "ssecure", "/usr/src", &DESDists, DIST_DES_SSECURE, NULL },
{ "scrypto", "/usr/src", &DESDists, DIST_DES_SCRYPTO, NULL },
{ "skerbero", "/usr/src", &DESDists, DIST_DES_SKERBEROS, NULL },

View File

@ -37,7 +37,11 @@
#define DIST_DES_DES 0x0001
#define DIST_DES_SCRYPTO 0x0002
#define DIST_DES_SSECURE 0x0004
#if __FreeBSD__ > 3
#define DIST_DES_KERBEROS4 0x0008
#else
#define DIST_DES_KERBEROS 0x0008
#endif
#define DIST_DES_SKERBEROS 0x0010
/* Subtypes for SRC distribution */