ct_ssnkey_buf
if (ctx->ct_ssnkey_buf) {
free(ctx->ct_ssnkey_buf);
ctx->ct_ssnkey_buf = NULL;
if (ctx->ct_ssnkey_buf != NULL) {
free(ctx->ct_ssnkey_buf);
ctx->ct_ssnkey_buf = NULL;
ctx->ct_ssnkey_buf = malloc(ssn_key->length);
if (ctx->ct_ssnkey_buf == NULL) {
memcpy(ctx->ct_ssnkey_buf, ssn_key->contents, ctx->ct_ssnkey_len);
if (ctx->ct_ssnkey_buf != NULL) {
free(ctx->ct_ssnkey_buf);
ctx->ct_ssnkey_buf = NULL;
ctx->ct_ssnkey_buf = malloc(NTLM_HASH_SZ);
if (ctx->ct_ssnkey_buf == NULL) {
memcpy(ctx->ct_ssnkey_buf, ssp_st->ss_ssnkey, NTLM_HASH_SZ);