aboutsummaryrefslogtreecommitdiff
path: root/security/cyrus-sasl/files/patch-ak
diff options
context:
space:
mode:
authorAde Lovett <ade@FreeBSD.org>2000-09-19 02:59:29 +0000
committerAde Lovett <ade@FreeBSD.org>2000-09-19 02:59:29 +0000
commit636d1ebd70fd6825fbd4d30b41abf865213aa9ab (patch)
tree953ae4954ca6298cd0351b443730249166fc8d76 /security/cyrus-sasl/files/patch-ak
parent9853f06e8be3cb92337d89fbebac766dbec5bd20 (diff)
downloadports-636d1ebd70fd6825fbd4d30b41abf865213aa9ab.tar.gz
ports-636d1ebd70fd6825fbd4d30b41abf865213aa9ab.zip
Cyrus-SASL 1.5.24 sources changed on Aug 15th
-- changed a hard coded value to a variable. Kerberos IV detection fails due to double check on krb_mk_priv (with/without com_err), used cached value from first check for krb_mk_priv. Added addtional pwcheck methods (MySQL & LDAP Authentication). PR: 21383 Submitted by: maintainer
Notes
Notes: svn path=/head/; revision=32830
Diffstat (limited to 'security/cyrus-sasl/files/patch-ak')
-rw-r--r--security/cyrus-sasl/files/patch-ak30
1 files changed, 30 insertions, 0 deletions
diff --git a/security/cyrus-sasl/files/patch-ak b/security/cyrus-sasl/files/patch-ak
new file mode 100644
index 000000000000..ecbd20ca3239
--- /dev/null
+++ b/security/cyrus-sasl/files/patch-ak
@@ -0,0 +1,30 @@
+--- plugins/kerberos4.c.orig Wed Apr 19 11:18:48 2000
++++ plugins/kerberos4.c Sat Sep 16 18:49:20 2000
+@@ -696,8 +696,13 @@
+
+ /* decrypt; verify checksum */
+
++#ifdef __FreeBSD__
++ des_pcbc_encrypt((const unsigned char *)in,
++ (unsigned char *)in,
++#else
+ des_pcbc_encrypt((des_cblock *)in,
+ (des_cblock *)in,
++#endif
+ clientinlen,
+ text->init_keysched,
+ &text->session,
+@@ -1192,8 +1197,13 @@
+ }
+ sout[len]=0;
+
++#ifdef __FreeBSD__
++ des_pcbc_encrypt((const unsigned char *)sout,
++ (unsigned char *)sout,
++#else
+ des_pcbc_encrypt((des_cblock *)sout,
+ (des_cblock *)sout,
++#endif
+ len,
+ text->init_keysched,
+ (des_cblock *)text->session,