"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "lib/gssapi/client.c" between
gsasl-2.0.1.tar.gz and gsasl-2.2.0.tar.gz

About: GNU SASL is an implementation of the Simple Authentication and Security Layer (SASL).

client.c  (gsasl-2.0.1):client.c  (gsasl-2.2.0)
skipping to change at line 139 skipping to change at line 139
GSS_C_REPLAY_FLAG | GSS_C_REPLAY_FLAG |
GSS_C_SEQUENCE_FLAG | GSS_C_SEQUENCE_FLAG |
GSS_C_INTEG_FLAG | GSS_C_INTEG_FLAG |
GSS_C_CONF_FLAG, GSS_C_CONF_FLAG,
0, 0,
GSS_C_NO_CHANNEL_BINDINGS, GSS_C_NO_CHANNEL_BINDINGS,
buf, NULL, &bufdesc2, NULL, NULL); buf, NULL, &bufdesc2, NULL, NULL);
if (maj_stat != GSS_S_COMPLETE && maj_stat != GSS_S_CONTINUE_NEEDED) if (maj_stat != GSS_S_COMPLETE && maj_stat != GSS_S_CONTINUE_NEEDED)
return GSASL_GSSAPI_INIT_SEC_CONTEXT_ERROR; return GSASL_GSSAPI_INIT_SEC_CONTEXT_ERROR;
if (bufdesc2.length > 0 && bufdesc2.value == NULL)
return GSASL_GSSAPI_INIT_SEC_CONTEXT_ERROR;
*output_len = bufdesc2.length; *output_len = bufdesc2.length;
*output = malloc (*output_len); *output = malloc (*output_len);
if (!*output) if (!*output)
return GSASL_MALLOC_ERROR; return GSASL_MALLOC_ERROR;
memcpy (*output, bufdesc2.value, bufdesc2.length); if (bufdesc2.value)
memcpy (*output, bufdesc2.value, bufdesc2.length);
if (maj_stat == GSS_S_COMPLETE) if (maj_stat == GSS_S_COMPLETE)
state->step = 2; state->step = 2;
else else
state->step = 1; state->step = 1;
maj_stat = gss_release_buffer (&min_stat, &bufdesc2); maj_stat = gss_release_buffer (&min_stat, &bufdesc2);
if (maj_stat != GSS_S_COMPLETE) if (maj_stat != GSS_S_COMPLETE)
return GSASL_GSSAPI_RELEASE_BUFFER_ERROR; return GSASL_GSSAPI_RELEASE_BUFFER_ERROR;
 End of changes. 2 change blocks. 
1 lines changed or deleted 5 lines changed or added

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