diff options
Diffstat (limited to 'security/cyrus-sasl/files/patch-ak')
-rw-r--r-- | security/cyrus-sasl/files/patch-ak | 30 |
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, |