summaryrefslogtreecommitdiffstats
path: root/lasso/utils.h
diff options
context:
space:
mode:
authorBenjamin Dauvergne <bdauvergne@entrouvert.com>2010-12-14 01:53:01 +0100
committerBenjamin Dauvergne <bdauvergne@entrouvert.com>2010-12-14 01:53:01 +0100
commitb0c2fdab284500e547d602c5e84d6dc212061011 (patch)
tree95b4159c3ae6d214d5b147c0ea92803fd15eda31 /lasso/utils.h
parent762f88cd3790b28ea3594cdfc95e395b1e6e7cc4 (diff)
downloadlasso-b0c2fdab284500e547d602c5e84d6dc212061011.tar.gz
lasso-b0c2fdab284500e547d602c5e84d6dc212061011.tar.xz
lasso-b0c2fdab284500e547d602c5e84d6dc212061011.zip
[utils] fix typo in lasso_assign_sec_key
Diffstat (limited to 'lasso/utils.h')
-rw-r--r--lasso/utils.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lasso/utils.h b/lasso/utils.h
index 3c840963..341a440e 100644
--- a/lasso/utils.h
+++ b/lasso/utils.h
@@ -28,6 +28,7 @@
#include <stdio.h>
#include <glib.h>
#include <glib-object.h>
+#include <xmlsec/keys.h>
#include "debug.h"
#include "./backward_comp.h"
#include "./xml/private.h"
@@ -330,7 +331,7 @@
#define lasso_assign_sec_key(dest, src) \
{ \
- xmlSecKey *__tmp = xmlSecKeyDup(src); \
+ xmlSecKey *__tmp = xmlSecKeyDuplicate(src); \
if (dest) \
lasso_release_sec_key(dest); \
dest = __tmp; \