summaryrefslogtreecommitdiffstats
path: root/omfwd.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2007-12-19 07:45:32 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2007-12-19 07:45:32 +0000
commit3cdb6743f792f9b6705b352c9e4a5b502b1f5993 (patch)
tree7376e1c66c8394055fb1d79aa47abdca65c7a0a2 /omfwd.c
parent83da22c61ec3a3cb3911112591b22aa7d4d037b8 (diff)
downloadrsyslog-3cdb6743f792f9b6705b352c9e4a5b502b1f5993.tar.gz
rsyslog-3cdb6743f792f9b6705b352c9e4a5b502b1f5993.tar.xz
rsyslog-3cdb6743f792f9b6705b352c9e4a5b502b1f5993.zip
applied enhanced gss-api functionality provided by varmojfekoj
Diffstat (limited to 'omfwd.c')
-rw-r--r--omfwd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/omfwd.c b/omfwd.c
index e3ec0266..13ec3b73 100644
--- a/omfwd.c
+++ b/omfwd.c
@@ -171,7 +171,7 @@ CODESTARTfreeInstance
OM_uint32 maj_stat, min_stat;
if (pData->gss_context != GSS_C_NO_CONTEXT) {
- maj_stat = gss_delete_sec_context(&min_stat, pData->gss_context, GSS_C_NO_BUFFER);
+ maj_stat = gss_delete_sec_context(&min_stat, &pData->gss_context, GSS_C_NO_BUFFER);
if (maj_stat != GSS_S_COMPLETE)
display_status("deleting context", maj_stat, min_stat);
}
@@ -1146,7 +1146,7 @@ ENDqueryEtryPt
#ifdef USE_GSSAPI
-static rsRetVal setGSSMode(void *pVal, uchar *mode)
+static rsRetVal setGSSMode(void __attribute__((unused)) *pVal, uchar *mode)
{
if (!strcmp((char *) mode, "none")) {
gss_mode = GSSMODE_NONE;