From 06393751194618dd98329eb54f8bb175a0f251e9 Mon Sep 17 00:00:00 2001 From: James Peach Date: Mon, 12 Sep 2005 01:34:51 +0000 Subject: r10159: Dereference padsize before comparing to an int. (This used to be commit 5767c05909c9927b3a806614b1f1bd2f90a35dd3) --- source4/heimdal/lib/gssapi/cfx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/heimdal') 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); } -- cgit