secur32: Set push & pull functions in schan_imp_create_session.
This commit is contained in:
parent
c86dafe51e
commit
3d47fce382
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue