diff options
| author | Frederic Peters <fpeters@entrouvert.com> | 2004-07-22 10:02:46 +0000 |
|---|---|---|
| committer | Frederic Peters <fpeters@entrouvert.com> | 2004-07-22 10:02:46 +0000 |
| commit | cee28fab27cd7c38ed4af0d0dc1462056b258d2f (patch) | |
| tree | 095be8b1cf8c2048cb9a43ff8162ddd60cdd56d1 | |
| parent | 81b5acd5eb4528e10d3da2045ce8b0887effeabc (diff) | |
| download | lasso-cee28fab27cd7c38ed4af0d0dc1462056b258d2f.tar.gz lasso-cee28fab27cd7c38ed4af0d0dc1462056b258d2f.tar.xz lasso-cee28fab27cd7c38ed4af0d0dc1462056b258d2f.zip | |
xmlSecBase64Encode is used so xmlsec/base64.h must be included
| -rw-r--r-- | lasso/xml/tools.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lasso/xml/tools.c b/lasso/xml/tools.c index 7bd3a924..fdff160f 100644 --- a/lasso/xml/tools.c +++ b/lasso/xml/tools.c @@ -25,6 +25,7 @@ #include <lasso/xml/tools.h> #include <xmlsec/xmltree.h> +#include <xmlsec/base64.h> xmlChar * lasso_build_random_sequence(guint8 size) @@ -86,7 +87,7 @@ lasso_build_unique_id(guint8 size) id[size] = '\0'; /* base64 encoding of build string */ - enc_id = (xmlChar*)xmlSecBase64Encode((const xmlChar *)id, size, 0); + enc_id = xmlSecBase64Encode((const xmlChar *)id, size, 0); g_free(id); return (enc_id); |
