diff options
author | Benjamin Dauvergne <bdauvergne@entrouvert.com> | 2010-09-01 12:41:28 +0200 |
---|---|---|
committer | Benjamin Dauvergne <bdauvergne@entrouvert.com> | 2010-09-03 19:02:37 +0200 |
commit | 35ff3d6950e6428c3a6c3d7b275313db2412aafa (patch) | |
tree | bb6659da78f8020d09be8d849cfb1baa0416634a /bindings/python/lang.py | |
parent | 8ebeeb9a361d6bb9f7f74039eef9feb320feeb17 (diff) | |
download | lasso-35ff3d6950e6428c3a6c3d7b275313db2412aafa.tar.gz lasso-35ff3d6950e6428c3a6c3d7b275313db2412aafa.tar.xz lasso-35ff3d6950e6428c3a6c3d7b275313db2412aafa.zip |
[Strings] add string constant for the internal XML attributes used in dumps
Add string constants for signature method, signature type, private key
(file path or content), private key password and certificate (file path
or content).
Add cast for xmlChar constant strings definition in python bindings, it
assumed all constant strings were char*.
Diffstat (limited to 'bindings/python/lang.py')
-rw-r--r-- | bindings/python/lang.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bindings/python/lang.py b/bindings/python/lang.py index ab987266..8be92e39 100644 --- a/bindings/python/lang.py +++ b/bindings/python/lang.py @@ -692,7 +692,7 @@ register_constants(PyObject *d) if c[0] == 'i': print >> fd, ' obj = PyInt_FromLong(%s);' % c[1] elif c[0] == 's': - print >> fd, ' obj = PyString_FromString(%s);' % c[1] + print >> fd, ' obj = PyString_FromString((char*)%s);' % c[1] elif c[0] == 'b': print >> fd, '''\ #ifdef %s |