secur32: Set push & pull functions in schan_imp_create_session.

This commit is contained in:
Ken Thomases 2011-03-13 18:58:11 -05:00 committed by Alexandre Julliard
parent c86dafe51e
commit 3d47fce382
1 changed files with 3 additions and 3 deletions

View File

@ -132,6 +132,9 @@ static BOOL schan_imp_create_session(gnutls_session_t *s, BOOL is_server)
return FALSE;
}
pgnutls_transport_set_pull_function(*s, schan_pull_adapter);
pgnutls_transport_set_push_function(*s, schan_push_adapter);
return TRUE;
}
@ -1058,9 +1061,6 @@ static SECURITY_STATUS SEC_ENTRY schan_InitializeSecurityContextW(
HeapFree(GetProcessHeap(), 0, ctx);
}
pgnutls_transport_set_pull_function(ctx->session, schan_pull_adapter);
pgnutls_transport_set_push_function(ctx->session, schan_push_adapter);
phNewContext->dwLower = handle;
phNewContext->dwUpper = 0;
}