"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/ne_auth.c" between
neon-0.31.1.tar.gz and neon-0.31.2.tar.gz

About: neon is an HTTP and WebDAV client library, with a C interface.

ne_auth.c  (neon-0.31.1):ne_auth.c  (neon-0.31.2)
skipping to change at line 1620 skipping to change at line 1620
if ((protomask & NE_AUTH_NEGOTIATE) == NE_AUTH_NEGOTIATE) { if ((protomask & NE_AUTH_NEGOTIATE) == NE_AUTH_NEGOTIATE) {
/* Map NEGOTIATE to NTLM | GSSAPI. */ /* Map NEGOTIATE to NTLM | GSSAPI. */
protomask |= NE_AUTH_GSSAPI | NE_AUTH_NTLM; protomask |= NE_AUTH_GSSAPI | NE_AUTH_NTLM;
} }
if ((protomask & NE_AUTH_GSSAPI) == NE_AUTH_GSSAPI) { if ((protomask & NE_AUTH_GSSAPI) == NE_AUTH_GSSAPI) {
/* Map GSSAPI to GSSAPI_ONLY | SSPI. */ /* Map GSSAPI to GSSAPI_ONLY | SSPI. */
protomask |= NE_AUTH_GSSAPI_ONLY | NE_AUTH_SSPI; protomask |= NE_AUTH_GSSAPI_ONLY | NE_AUTH_SSPI;
} }
if (protomask | NE_AUTH_DIGEST) { if ((protomask & NE_AUTH_DIGEST) == NE_AUTH_DIGEST) {
struct ne_md5_ctx *ctx = ne_md5_create_ctx(); struct ne_md5_ctx *ctx = ne_md5_create_ctx();
if (ctx) { if (ctx) {
ne_md5_destroy_ctx(ctx); ne_md5_destroy_ctx(ctx);
} }
else { else {
NE_DEBUG(NE_DBG_HTTPAUTH, "auth: Disabling Digest support without MD 5.\n"); NE_DEBUG(NE_DBG_HTTPAUTH, "auth: Disabling Digest support without MD 5.\n");
protomask &= ~NE_AUTH_DIGEST; protomask &= ~NE_AUTH_DIGEST;
} }
} }
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)