]> andersk Git - gssapi-openssh.git/blobdiff - openssh/auth-krb5.c
update from Simon's openssh-4.3p2-gsskex-20060223.patch
[gssapi-openssh.git] / openssh / auth-krb5.c
index fc85b8800de3b59e9957249204f5727a3c0f6a23..bc37675a2486879b5ffdbe6e78556cca0dff092d 100644 (file)
@@ -226,7 +226,7 @@ ssh_krb5_cc_gen(krb5_context ctx, krb5_ccache *ccache) {
 
        ret = snprintf(ccname, sizeof(ccname),
            cctemplate, geteuid());
-       if (ret == -1 || ret >= (int) sizeof(ccname))
+       if (ret < 0 || (size_t)ret >= sizeof(ccname))
                return ENOMEM;
 
 #ifndef USE_CCAPI
This page took 0.168787 seconds and 4 git commands to generate.