"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "lib/cram-md5/server.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).

server.c  (gsasl-2.0.1):server.c  (gsasl-2.2.0)
skipping to change at line 57 skipping to change at line 57
{ {
char *challenge; char *challenge;
int rc; int rc;
challenge = malloc (CRAM_MD5_CHALLENGE_LEN); challenge = malloc (CRAM_MD5_CHALLENGE_LEN);
if (challenge == NULL) if (challenge == NULL)
return GSASL_MALLOC_ERROR; return GSASL_MALLOC_ERROR;
rc = cram_md5_challenge (challenge); rc = cram_md5_challenge (challenge);
if (rc) if (rc)
return GSASL_CRYPTO_ERROR; {
free (challenge);
return GSASL_CRYPTO_ERROR;
}
*mech_data = challenge; *mech_data = challenge;
return GSASL_OK; return GSASL_OK;
} }
int int
_gsasl_cram_md5_server_step (Gsasl_session * sctx, _gsasl_cram_md5_server_step (Gsasl_session * sctx,
void *mech_data, void *mech_data,
const char *input, size_t input_len, const char *input, size_t input_len,
 End of changes. 1 change blocks. 
1 lines changed or deleted 4 lines changed or added

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