]> git.pld-linux.org Git - packages/squid.git/blame - squid-sasl.patch
- added align patch, release 2.1 for tests
[packages/squid.git] / squid-sasl.patch
CommitLineData
44562372
AM
1diff -urN squid-2.5.STABLE1.org/helpers/basic_auth/SASL/sasl_auth.c squid-2.5.STABLE1/helpers/basic_auth/SASL/sasl_auth.c
2--- squid-2.5.STABLE1.org/helpers/basic_auth/SASL/sasl_auth.c Mon Aug 12 18:58:31 2002
3+++ squid-2.5.STABLE1/helpers/basic_auth/SASL/sasl_auth.c Sun Mar 16 21:45:24 2003
4@@ -25,7 +25,7 @@
5 * Compile this program with: gcc -Wall -o sasl_auth sasl_auth.c -lsasl
6 *
7 */
8-#include <sasl.h>
9+#include <sasl/sasl.h>
10 #include <stdio.h>
11 #include <errno.h>
12 #include <stdlib.h>
13@@ -56,7 +56,7 @@
14 return 1;
15 }
16
17- rc = sasl_server_new( APP_NAME_SASL, NULL, NULL, NULL, 0, &conn );
18+ rc = sasl_server_new( APP_NAME_SASL, NULL, NULL, NULL, NULL, NULL, 0, &conn );
19
20 if ( rc != SASL_OK ) {
21 fprintf( stderr, "error %d %s\n", rc, sasl_errstring(rc, NULL, NULL ));
22@@ -84,7 +84,7 @@
23 rfc1738_unescape(username);
24 rfc1738_unescape(password);
25
26- rc = sasl_checkpass(conn, username, strlen(username), password, strlen(password), &errstr);
27+ rc = sasl_checkpass(conn, username, strlen(username), password, strlen(password));
28
29 if ( rc != SASL_OK ) {
30 if ( errstr ) {
This page took 0.040838 seconds and 4 git commands to generate.