summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
Diffstat (limited to 'source4')
-rwxr-xr-xsource4/heimdal/lib/gssapi/cfx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/heimdal/lib/gssapi/cfx.c b/source4/heimdal/lib/gssapi/cfx.c
index 1cc510d6fc..3e7592b3a7 100755
--- a/source4/heimdal/lib/gssapi/cfx.c
+++ b/source4/heimdal/lib/gssapi/cfx.c
@@ -77,7 +77,7 @@ wrap_length_cfx(krb5_crypto crypto,
if (ret) {
return ret;
}
- if (padsize > 1) {
+ if (*padsize > 1) {
/* XXX check this */
*padlength = *padsize - (input_length % *padsize);
}