diff options
Diffstat (limited to 'contrib/bind9/lib/dns/gssapi_link.c')
-rw-r--r-- | contrib/bind9/lib/dns/gssapi_link.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/contrib/bind9/lib/dns/gssapi_link.c b/contrib/bind9/lib/dns/gssapi_link.c index e14d0eb..c443fcb 100644 --- a/contrib/bind9/lib/dns/gssapi_link.c +++ b/contrib/bind9/lib/dns/gssapi_link.c @@ -16,7 +16,7 @@ */ /* - * $Id: gssapi_link.c,v 1.16 2011-01-11 23:47:13 tbox Exp $ + * $Id: gssapi_link.c,v 1.16.10.1 2011-03-28 05:36:05 marka Exp $ */ #include <config.h> @@ -181,7 +181,7 @@ gssapi_sign(dst_context_t *dctx, isc_buffer_t *sig) { * allocated space. */ isc_buffer_putmem(sig, gsig.value, gsig.length); - if (gsig.length != 0) + if (gsig.length != 0U) gss_release_buffer(&minor, &gsig); return (ISC_R_SUCCESS); @@ -293,7 +293,7 @@ gssapi_restore(dst_key_t *key, const char *keystr) { isc_result_t result; len = strlen(keystr); - if ((len % 4) != 0) + if ((len % 4) != 0U) return (ISC_R_BADBASE64); len = (len / 4) * 3; @@ -338,7 +338,7 @@ gssapi_dump(dst_key_t *key, isc_mem_t *mctx, char **buffer, int *length) { major, minor); return (ISC_R_FAILURE); } - if (gssbuffer.length == 0) + if (gssbuffer.length == 0U) return (ISC_R_FAILURE); len = ((gssbuffer.length + 2)/3) * 4; buf = isc_mem_get(mctx, len); |