Commit Graph

11 Commits

Author SHA1 Message Date
Benjamin Dauvergne a041a2ef81 Initialize all uninitialized rc variables 2010-04-30 09:23:01 +00:00
Benjamin Dauvergne 0a169eda51 Improve safety by replacing all g_free use by lasso_release 2010-04-22 00:44:45 +00:00
Benjamin Dauvergne 6b601b55ee Documentation: complete non finished documentation comments
* too much warnings when generating doc, now we can concentrate on
   undocumented symbols (in
   lasso/docs/reference/lasso/lasso-undocumented.txt).
2010-02-10 13:58:40 +00:00
Benjamin Dauvergne 9630852710 Fix name of LASSO_WSSEC_BAD_PASSWORD
* lasso/errors.c lasso/errors.h:
   LASSO_WSSE_BAD_PASSWORD -> LASSO_WSSEC_ERROR_BAD_PASSWORD
 * lasso/xml/ws/wsse_username_token.c:
   update client code.
2010-01-25 12:46:59 +00:00
Benjamin Dauvergne 6817af36a6 Fix LASSO_WSSEC_BAD_PASSWORD error, reformat wsse_username_token.c
* lasso/errors.h:
   change error id and error name for LASSO_WSSEC_BAD_PASSWORD
 * lasso/xml/ws/wsse_username_token.c:
   update reference to LASSO_WSSEC_BAD_PASSWORD.
   reformat line longer than 100 characters.
2010-01-20 13:33:48 +00:00
Benjamin Dauvergne c13c02c83f WS: complete support for wsse:UsernameToken
* docs/reference/lasso/lasso-sections.txt:
   add new functions and change type name in documentation.
 * lasso/errors.h lasso/errors.c:
   add an error to report password verification failure
 * lasso/xml/ws/wsse_username_token.h
   lasso/xml/ws/wsse_username_token.c:
   update support for wsse:UsernameToken up to version 1.1, implement
   digest and derived keys computations.
 * lasso/xml/idwsf_strings.h:
   add strings for Username WS-Security Token profile
2010-01-19 11:01:01 +00:00
Benjamin Dauvergne b63bc73b93 XML: remove all useless instance_init functions
* Use Coccinelle semantic patch tool (http://coccinelle.lip6.fr/) to
   remove useless instance_init functions, the first patch applied was:
@@
type T,V;
identifier I, J;
parameter list P;
expression E1;
@@

V instance_init(T node)
{
<...
(
-  E1 = 0;
|
-  E1 = NULL;
|
-  E1 = FALSE;
)
...>
}
   It removes useless initialization to 0 (GObject already zeroes
   allocated objects).
   The second one is:
@ rule1 @
type T;
identifier node,fn;
@@

- static void fn(T *node) { }

@ rule2 extends rule1 @
typedef GType, GInstanceInitFunc;
identifier type_constructor;
@@
GType type_constructor()
{
<...
- (GInstanceInitFunc)fn
+ NULL
...>
}
   It removes empty instance_init functions.
2009-08-26 15:14:48 +00:00
Benjamin Dauvergne b09ef2e015 Core: do not mix public and private headers
* lots of files:
   explicitely load the internal header xml/private.h where needed.
2009-03-27 15:04:26 +00:00
Benjamin Dauvergne 33bbf7a7de All: Fix missing field initializer problems
* lots of files: Explicitely set all field of initialized structures,
  in order to remove -Wno-missing-field-initilizers from needed
  compiler options when using -Wall -Wextra.
2009-01-24 09:33:40 +00:00
Benjamin Dauvergne 9ed0670e48 * Remove ending blanks 2008-09-12 15:06:58 +00:00
Frédéric Péters 6204c8be9c adds all classes from ID-WSF 2 required schemas; with appropriate changes to
other files.
2007-07-10 08:50:56 +00:00