summaryrefslogtreecommitdiffstats
path: root/proxy/tests
diff options
context:
space:
mode:
Diffstat (limited to 'proxy/tests')
-rw-r--r--proxy/tests/cli_srv_comm.c2
-rw-r--r--proxy/tests/interposetest.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/proxy/tests/cli_srv_comm.c b/proxy/tests/cli_srv_comm.c
index 1e055ca..f085af3 100644
--- a/proxy/tests/cli_srv_comm.c
+++ b/proxy/tests/cli_srv_comm.c
@@ -363,7 +363,7 @@ void *server_thread(void *pvt)
uint32_t ret_min;
struct gssx_ctx *context_handle = NULL;
struct gssx_cred *cred_handle = NULL;
- struct gssx_name *src_name;
+ struct gssx_name *src_name = NULL;
gss_buffer_desc out_token = GSS_C_EMPTY_BUFFER;
struct gssx_cred *deleg_cred = NULL;
gss_OID_set mech_set = GSS_C_NO_OID_SET;
diff --git a/proxy/tests/interposetest.c b/proxy/tests/interposetest.c
index 83e550d..ed286d6 100644
--- a/proxy/tests/interposetest.c
+++ b/proxy/tests/interposetest.c
@@ -228,7 +228,7 @@ void run_client(struct aproc *data)
gss_buffer_desc msg_buf = GSS_C_EMPTY_BUFFER;
char *message = "SECRET";
int ret = -1;
- gss_iov_buffer_desc iov[2];
+ gss_iov_buffer_desc iov[2] = { { 0, { 0, NULL } }, { 0, { 0, NULL } } };
int sealed;
uint32_t max_size = 0;