summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@mit.edu>2000-01-27 21:02:32 +0000
committerKen Raeburn <raeburn@mit.edu>2000-01-27 21:02:32 +0000
commitcce82ca200323b3812b00e84359dc78aa9b48d44 (patch)
treee9655b52e223254aa6404d0105d6ea4a4c17264b
parent8b09eee41cfbfa58c505a898e9beee241234d2d7 (diff)
downloadkrb5-cce82ca200323b3812b00e84359dc78aa9b48d44.tar.gz
krb5-cce82ca200323b3812b00e84359dc78aa9b48d44.tar.xz
krb5-cce82ca200323b3812b00e84359dc78aa9b48d44.zip
* init_sec_context.c (krb5_gss_init_sec_context): Default to des-cbc-crc
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11969 dc483132-0cff-0310-8789-dd5450dbe970
-rw-r--r--src/lib/gssapi/krb5/ChangeLog5
-rw-r--r--src/lib/gssapi/krb5/init_sec_context.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/src/lib/gssapi/krb5/ChangeLog b/src/lib/gssapi/krb5/ChangeLog
index 0ba81b13b1..06639d4040 100644
--- a/src/lib/gssapi/krb5/ChangeLog
+++ b/src/lib/gssapi/krb5/ChangeLog
@@ -1,3 +1,8 @@
+2000-01-27 Ken Raeburn <raeburn@raeburn.org>
+
+ * init_sec_context.c (krb5_gss_init_sec_context): Default to
+ des-cbc-crc.
+
1999-10-26 Ken Raeburn <raeburn@mit.edu>
* accept_sec_context.c (krb5_gss_accept_sec_context): Get rid of
diff --git a/src/lib/gssapi/krb5/init_sec_context.c b/src/lib/gssapi/krb5/init_sec_context.c
index fb11cf5a2d..d0c8bc9445 100644
--- a/src/lib/gssapi/krb5/init_sec_context.c
+++ b/src/lib/gssapi/krb5/init_sec_context.c
@@ -480,7 +480,7 @@ krb5_gss_init_sec_context(minor_status, claimant_cred_handle,
krb5_context context;
krb5_gss_cred_id_t cred;
krb5_creds *k_cred = 0;
- krb5_enctype enctype = 0;
+ krb5_enctype enctype = ENCTYPE_DES_CBC_CRC;
krb5_error_code code;
krb5_gss_ctx_id_rec *ctx, *ctx_free;
krb5_timestamp now;