gsasl-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CVS gsasl/lib/gssapi


From: gsasl-commit
Subject: CVS gsasl/lib/gssapi
Date: Fri, 7 Oct 2005 16:44:24 +0200

Update of /home/cvs/gsasl/lib/gssapi
In directory dopio:/tmp/cvs-serv10588

Modified Files:
        server.c 
Log Message:
Fix cast error.


--- /home/cvs/gsasl/lib/gssapi/server.c 2005/06/25 09:56:55     1.13
+++ /home/cvs/gsasl/lib/gssapi/server.c 2005/10/07 14:44:23     1.14
@@ -1,5 +1,5 @@
 /* server.c --- SASL mechanism GSSAPI as defined in RFC 2222, server side.
- * Copyright (C) 2002, 2003, 2004  Simon Josefsson
+ * Copyright (C) 2002, 2003, 2004, 2005  Simon Josefsson
  *
  * This file is part of GNU SASL Library.
  *
@@ -240,7 +240,7 @@
        }
 
       gsasl_property_set_raw (sctx, GSASL_AUTHZID,
-                             bufdesc2.value + 4, bufdesc2.length - 4);
+                             (char*)bufdesc2.value + 4, bufdesc2.length - 4);
 
       maj_stat = gss_display_name (&min_stat, state->client,
                                   &client_name, &mech_type);





reply via email to

[Prev in Thread] Current Thread [Next in Thread]