ReactOS 0.4.16-dev-297-gc569aee
|
#include <stdarg.h>
#include <windef.h>
#include <winsock2.h>
#include <ws2tcpip.h>
#include <stdio.h>
#include <security.h>
#include <schannel.h>
#include "wine/test.h"
Go to the source code of this file.
Macros | |
#define | SECURITY_WIN32 |
#define | X(x) case x: return #x |
#define | X(flag, name) do { if(protocols.grbitProtocol & flag) { trace(name "\n"); protocols.grbitProtocol &= ~flag; } }while(0) |
Functions | |
static const char * | algid_to_str (ALG_ID alg) |
static void | init_cred (SCHANNEL_CRED *cred) |
static void | test_strength (PCredHandle handle) |
static void | test_supported_protocols (CredHandle *handle, unsigned exprots) |
static void | test_supported_algs (CredHandle *handle) |
static void | test_cread_attrs (void) |
static void | testAcquireSecurityContext (void) |
static void | test_remote_cert (PCCERT_CONTEXT remote_cert) |
static void | init_buffers (SecBufferDesc *desc, unsigned count, unsigned size) |
static void | reset_buffers (SecBufferDesc *desc) |
static void | free_buffers (SecBufferDesc *desc) |
static int | receive_data (SOCKET sock, SecBuffer *buf) |
static void | test_InitializeSecurityContext (void) |
static void | test_communication (void) |
START_TEST (schannel) | |
Variables | |
static QUERY_CONTEXT_ATTRIBUTES_FN_A | pQueryContextAttributesA |
static const BYTE | bigCert [] |
static WCHAR | cspNameW [] |
static BYTE | privKey [] |
static const BYTE | selfSignedCert [] |
static CHAR | unisp_name_a [] = UNISP_NAME_A |
static const char | http_request [] = "HEAD /test.html HTTP/1.1\r\nHost: test.winehq.org\r\nConnection: close\r\n\r\n" |
#define SECURITY_WIN32 |
Definition at line 26 of file schannel.c.
#define X | ( | flag, | |
name | |||
) | do { if(protocols.grbitProtocol & flag) { trace(name "\n"); protocols.grbitProtocol &= ~flag; } }while(0) |
Definition at line 99 of file schannel.c.
Referenced by test_supported_algs().
|
static |
Definition at line 598 of file schannel.c.
|
static |
Definition at line 573 of file schannel.c.
Referenced by test_communication().
|
static |
Definition at line 157 of file schannel.c.
Referenced by test_communication(), test_cread_attrs(), and test_InitializeSecurityContext().
Definition at line 604 of file schannel.c.
Referenced by notify_generic_text_handler(), test_communication(), and test_notify_generic_text_helper().
|
static |
Definition at line 583 of file schannel.c.
Referenced by test_communication().
START_TEST | ( | schannel | ) |
Definition at line 1040 of file schannel.c.
Definition at line 673 of file schannel.c.
Referenced by START_TEST().
Definition at line 230 of file schannel.c.
Referenced by START_TEST().
Definition at line 643 of file schannel.c.
Referenced by START_TEST().
|
static |
Definition at line 553 of file schannel.c.
Referenced by test_communication().
|
static |
Definition at line 174 of file schannel.c.
Referenced by testAcquireSecurityContext().
|
static |
Definition at line 212 of file schannel.c.
Referenced by test_cread_attrs().
|
static |
Definition at line 186 of file schannel.c.
Referenced by test_cread_attrs().
Definition at line 263 of file schannel.c.
Referenced by START_TEST().
Definition at line 34 of file schannel.c.
Referenced by testAcquireSecurityContext().
|
static |
Definition at line 44 of file schannel.c.
Referenced by testAcquireSecurityContext().
|
static |
Definition at line 571 of file schannel.c.
Referenced by test_communication().
|
static |
Definition at line 32 of file schannel.c.
Referenced by InitFunctionPtrs(), START_TEST(), test_communication(), testAuth(), and testSignSeal().
|
static |
Definition at line 46 of file schannel.c.
Referenced by testAcquireSecurityContext().
Definition at line 72 of file schannel.c.
Referenced by testAcquireSecurityContext().
|
static |
Definition at line 97 of file schannel.c.
Referenced by test_cread_attrs(), and testAcquireSecurityContext().