summaryrefslogtreecommitdiff
path: root/usr/src/lib/sasl_plugins
diff options
context:
space:
mode:
authorJosef 'Jeff' Sipek <jeffpc@josefsipek.net>2013-07-29 16:16:59 -0400
committerRichard Lowe <richlowe@richlowe.net>2013-07-29 16:18:07 -0400
commit694c35faa87b858ecdadfe4fc592615f4eefbb07 (patch)
tree2a78abdba3549d11ff88460d03ff67ce152ae59c /usr/src/lib/sasl_plugins
parent36f7455d36b60be70d7aae5959fa19e71954678e (diff)
downloadillumos-joyent-694c35faa87b858ecdadfe4fc592615f4eefbb07.tar.gz
3882 Remove xmod & friends
Reviewed by: Dan McDonald <danmcd@nexenta.com> Reviewed by: Richard Lowe <richlowe@richlowe.net> Approved by: Richard Lowe <richlowe@richlowe.net>
Diffstat (limited to 'usr/src/lib/sasl_plugins')
-rw-r--r--usr/src/lib/sasl_plugins/Makefile47
-rw-r--r--usr/src/lib/sasl_plugins/digestmd5/digestmd5.c24
-rw-r--r--usr/src/lib/sasl_plugins/gssapi/gssapi.c10
3 files changed, 0 insertions, 81 deletions
diff --git a/usr/src/lib/sasl_plugins/Makefile b/usr/src/lib/sasl_plugins/Makefile
index d014d39264..2bd546fa55 100644
--- a/usr/src/lib/sasl_plugins/Makefile
+++ b/usr/src/lib/sasl_plugins/Makefile
@@ -48,53 +48,6 @@ $(SUBDIRS): FRC
FRC:
-# EXPORT DELETE START
-# CRYPT DELETE START
-# Special target to clean up the source tree for export distribution
-# Warning: This target changes the source tree
-EXPORT_SRC:
- $(RM) Makefile+ \
- digestmd5/digestmd5.c+ \
- gssapi/gssapi.c+
-
- $(SED) -e "/^# EXPORT DELETE START/,/^# EXPORT DELETE END/d" \
- < Makefile > Makefile+
- $(MV) Makefile+ Makefile
-
- $(SED) -e "/EXPORT DELETE START/,/EXPORT DELETE END/d" \
- < digestmd5/digestmd5.c > digestmd5/digestmd5.c+
- $(MV) digestmd5/digestmd5.c+ digestmd5/digestmd5.c
-
- $(SED) -e "/EXPORT DELETE START/,/EXPORT DELETE END/d" \
- < gssapi/gssapi.c > gssapi/gssapi.c+
- $(MV) gssapi/gssapi.c+ gssapi/gssapi.c
-
- $(CHMOD) 444 \
- Makefile \
- digestmd5/digestmd5.c \
- gssapi/gssapi.c
-
-CRYPT_SRC:
- $(RM) Makefile+
-
- $(SED) -e "/CRYPT DELETE START/,/CRYPT DELETE END/d" \
- < digestmd5/digestmd5.c | $(SED) -e "/EXPORT DELETE/d" \
- > digestmd5/digestmd5.c+
- $(MV) digestmd5/digestmd5.c+ digestmd5/digestmd5.c
-
- $(SED) -e "/CRYPT DELETE START/,/CRYPT DELETE END/d" \
- < gssapi/gssapi.c | $(SED) -e "/EXPORT DELETE/d" \
- > gssapi/gssapi.c+
- $(MV) gssapi/gssapi.c+ gssapi/gssapi.c
-
- $(SED) -e "/^# CRYPT DELETE START/,/^# CRYPT DELETE END/d" \
- < Makefile | $(SED) -e "/^# EXPORT DELETE/d" > Makefile+
- $(MV) Makefile+ Makefile
- $(CHMOD) 444 Makefile digestmd5/digestmd5.c gssapi/gssapi.c
-
-# CRYPT DELETE END
-# EXPORT DELETE END
-
include ../Makefile.targ
.PARALLEL: $(SUBDIRS)
diff --git a/usr/src/lib/sasl_plugins/digestmd5/digestmd5.c b/usr/src/lib/sasl_plugins/digestmd5/digestmd5.c
index 3b5733d3af..41124cdd49 100644
--- a/usr/src/lib/sasl_plugins/digestmd5/digestmd5.c
+++ b/usr/src/lib/sasl_plugins/digestmd5/digestmd5.c
@@ -3,8 +3,6 @@
* Use is subject to license terms.
*/
-#pragma ident "%Z%%M% %I% %E% SMI"
-
/* DIGEST-MD5 SASL plugin
* Rob Siemborski
* Tim Martin
@@ -63,7 +61,6 @@
#include <fcntl.h>
#include <ctype.h>
-/* EXPORT DELETE START */
/* DES support */
#ifdef WITH_DES
# ifdef WITH_SSL_DES
@@ -72,7 +69,6 @@
# include <des.h>
# endif
#endif /* WITH_DES */
-/* EXPORT DELETE END */
#ifdef WIN32
# include <winsock.h>
@@ -721,7 +717,6 @@ static void get_pair(char **in, char **name, char **value)
*in = endpair;
}
-/* EXPORT DELETE START */
#ifdef WITH_DES
struct des_context_s {
des_key_schedule keysched; /* key schedule for des initialization */
@@ -1189,11 +1184,9 @@ static int enc_rc4(context_t *text,
}
#endif /* WITH_RC4 */
-/* EXPORT DELETE END */
struct digest_cipher available_ciphers[] =
{
- /* EXPORT DELETE START */
#ifdef WITH_RC4
{ "rc4-40", 40, 5, 0x01, &enc_rc4, &dec_rc4, &init_rc4, &free_rc4 },
{ "rc4-56", 56, 7, 0x02, &enc_rc4, &dec_rc4, &init_rc4, &free_rc4 },
@@ -1203,7 +1196,6 @@ struct digest_cipher available_ciphers[] =
{ "des", 55, 16, 0x08, &enc_des, &dec_des, &init_des, &free_des },
{ "3des", 112, 16, 0x10, &enc_3des, &dec_3des, &init_3des, &free_des },
#endif
- /* EXPORT DELETE END */
{ NULL, 0, 0, 0, NULL, NULL, NULL, NULL }
};
@@ -3688,17 +3680,13 @@ static sasl_server_plug_t digestmd5_server_plugins[] =
{
{
"DIGEST-MD5", /* mech_name */
- /* EXPORT DELETE START */
#ifdef WITH_RC4
128, /* max_ssf */
#elif WITH_DES
112,
#else
- /* EXPORT DELETE END */
0,
- /* EXPORT DELETE START */
#endif
- /* EXPORT DELETE END */
SASL_SEC_NOPLAINTEXT
| SASL_SEC_NOANONYMOUS
| SASL_SEC_MUTUAL_AUTH, /* security_flags */
@@ -3779,8 +3767,6 @@ int digestmd5_server_plug_init(sasl_utils_t *utils,
#endif /* USE_UEF_CLIENT */
#endif /* _SUN_SDK_ */
- /* EXPORT DELETE START */
- /* CRYPT DELETE START */
#ifdef _INTEGRATED_SOLARIS_
/*
* Let libsasl know that we are a "Sun" plugin so that privacy
@@ -3788,8 +3774,6 @@ int digestmd5_server_plug_init(sasl_utils_t *utils,
*/
REG_PLUG("DIGEST-MD5", digestmd5_server_plugins);
#endif /* _INTEGRATED_SOLARIS_ */
- /* CRYPT DELETE END */
- /* EXPORT DELETE END */
*out_version = SASL_SERVER_PLUG_VERSION;
*pluglist = digestmd5_server_plugins;
@@ -5178,17 +5162,13 @@ static sasl_client_plug_t digestmd5_client_plugins[] =
{
{
"DIGEST-MD5",
- /* EXPORT DELETE START */
#ifdef WITH_RC4 /* mech_name */
128, /* max ssf */
#elif WITH_DES
112,
#else
- /* EXPORT DELETE END */
0,
- /* EXPORT DELETE START */
#endif
- /* EXPORT DELETE END */
SASL_SEC_NOPLAINTEXT
| SASL_SEC_NOANONYMOUS
| SASL_SEC_MUTUAL_AUTH, /* security_flags */
@@ -5251,8 +5231,6 @@ int digestmd5_client_plug_init(sasl_utils_t *utils,
#endif /* USE_UEF_CLIENT */
#endif /* _SUN_SDK_ */
- /* EXPORT DELETE START */
- /* CRYPT DELETE START */
#ifdef _INTEGRATED_SOLARIS_
/*
* Let libsasl know that we are a "Sun" plugin so that privacy
@@ -5260,8 +5238,6 @@ int digestmd5_client_plug_init(sasl_utils_t *utils,
*/
REG_PLUG("DIGEST-MD5", digestmd5_client_plugins);
#endif /* _INTEGRATED_SOLARIS_ */
- /* CRYPT DELETE END */
- /* EXPORT DELETE END */
*out_version = SASL_CLIENT_PLUG_VERSION;
*pluglist = digestmd5_client_plugins;
diff --git a/usr/src/lib/sasl_plugins/gssapi/gssapi.c b/usr/src/lib/sasl_plugins/gssapi/gssapi.c
index 302d029380..2b03caf706 100644
--- a/usr/src/lib/sasl_plugins/gssapi/gssapi.c
+++ b/usr/src/lib/sasl_plugins/gssapi/gssapi.c
@@ -3,8 +3,6 @@
* Use is subject to license terms.
*/
-#pragma ident "%Z%%M% %I% %E% SMI"
-
/* GSSAPI SASL plugin
* Leif Johansson
* Rob Siemborski (SASL v2 Conversion)
@@ -1486,8 +1484,6 @@ int gssapiv2_server_plug_init(
#endif
#endif /* !_SUN_SDK_ */
- /* EXPORT DELETE START */
- /* CRYPT DELETE START */
#ifdef _INTEGRATED_SOLARIS_
/*
* Let libsasl know that we are a "Sun" plugin so that privacy
@@ -1495,8 +1491,6 @@ int gssapiv2_server_plug_init(
*/
REG_PLUG("GSSAPI", gssapi_server_plugins);
#endif /* _INTEGRATED_SOLARIS_ */
- /* CRYPT DELETE END */
- /* EXPORT DELETE END */
*out_version = SASL_SERVER_PLUG_VERSION;
*pluglist = gssapi_server_plugins;
@@ -2186,8 +2180,6 @@ int gssapiv2_client_plug_init(const sasl_utils_t *utils __attribute__((unused)),
return SASL_BADVERS;
}
- /* EXPORT DELETE START */
- /* CRYPT DELETE START */
#ifdef _INTEGRATED_SOLARIS_
/*
* Let libsasl know that we are a "Sun" plugin so that privacy
@@ -2195,8 +2187,6 @@ int gssapiv2_client_plug_init(const sasl_utils_t *utils __attribute__((unused)),
*/
REG_PLUG("GSSAPI", gssapi_client_plugins);
#endif /* _INTEGRATED_SOLARIS_ */
- /* CRYPT DELETE END */
- /* EXPORT DELETE END */
*out_version = SASL_CLIENT_PLUG_VERSION;
*pluglist = gssapi_client_plugins;