Loading CHANGES +3 −0 Original line number Diff line number Diff line Loading @@ -6,6 +6,9 @@ Changelog Daniel S (12 July 2007) - Made the krb5 code build with Heimdal's GSSAPI lib. Dan F (12 July 2007) - Compile most of the example apps in docs/examples when doing a 'make check'. Fixed some compile warnings and errors in those examples. Loading RELEASE-NOTES +1 −0 Original line number Diff line number Diff line Loading @@ -20,6 +20,7 @@ This release includes the following bugfixes: o transfer-encoding skipping didn't ignore the 407 response bodies properly o CURLOPT_SSL_VERIFYHOST set to 1 o CONNECT endless loop o krb5 support builds with Heimdal This release includes the following known bugs: Loading lib/krb5.c +11 −1 Original line number Diff line number Diff line Loading @@ -36,14 +36,24 @@ #ifndef CURL_DISABLE_FTP #ifdef HAVE_GSSAPI #ifdef HAVE_GSSMIT #define GSS_C_NT_HOSTBASED_SERVICE gss_nt_service_name #endif #include <stdlib.h> #ifdef HAVE_NETDB_H #include <netdb.h> #endif #include <string.h> #ifdef HAVE_GSSMIT /* MIT style */ #include <gssapi/gssapi.h> #include <gssapi/gssapi_generic.h> #include <gssapi/gssapi_krb5.h> #else /* Heimdal-style */ #include <gssapi.h> #endif #include "urldata.h" #include "base64.h" Loading Loading @@ -185,7 +195,7 @@ krb5_auth(void *app_data, struct connectdata *conn) gssbuf.value = data->state.buffer; gssbuf.length = snprintf(gssbuf.value, BUFSIZE, "%s@%s", service, host); maj = gss_import_name(&min, &gssbuf, gss_nt_service_name, &gssname); maj = gss_import_name(&min, &gssbuf, GSS_C_NT_HOSTBASED_SERVICE, &gssname); if(maj != GSS_S_COMPLETE) { gss_release_name(&min, &gssname); if(service == srv_host) { Loading Loading
CHANGES +3 −0 Original line number Diff line number Diff line Loading @@ -6,6 +6,9 @@ Changelog Daniel S (12 July 2007) - Made the krb5 code build with Heimdal's GSSAPI lib. Dan F (12 July 2007) - Compile most of the example apps in docs/examples when doing a 'make check'. Fixed some compile warnings and errors in those examples. Loading
RELEASE-NOTES +1 −0 Original line number Diff line number Diff line Loading @@ -20,6 +20,7 @@ This release includes the following bugfixes: o transfer-encoding skipping didn't ignore the 407 response bodies properly o CURLOPT_SSL_VERIFYHOST set to 1 o CONNECT endless loop o krb5 support builds with Heimdal This release includes the following known bugs: Loading
lib/krb5.c +11 −1 Original line number Diff line number Diff line Loading @@ -36,14 +36,24 @@ #ifndef CURL_DISABLE_FTP #ifdef HAVE_GSSAPI #ifdef HAVE_GSSMIT #define GSS_C_NT_HOSTBASED_SERVICE gss_nt_service_name #endif #include <stdlib.h> #ifdef HAVE_NETDB_H #include <netdb.h> #endif #include <string.h> #ifdef HAVE_GSSMIT /* MIT style */ #include <gssapi/gssapi.h> #include <gssapi/gssapi_generic.h> #include <gssapi/gssapi_krb5.h> #else /* Heimdal-style */ #include <gssapi.h> #endif #include "urldata.h" #include "base64.h" Loading Loading @@ -185,7 +195,7 @@ krb5_auth(void *app_data, struct connectdata *conn) gssbuf.value = data->state.buffer; gssbuf.length = snprintf(gssbuf.value, BUFSIZE, "%s@%s", service, host); maj = gss_import_name(&min, &gssbuf, gss_nt_service_name, &gssname); maj = gss_import_name(&min, &gssbuf, GSS_C_NT_HOSTBASED_SERVICE, &gssname); if(maj != GSS_S_COMPLETE) { gss_release_name(&min, &gssname); if(service == srv_host) { Loading