Skip to content

Commit 461541e

Browse files
committed
avoid incompatible pointer type warning
Signed-off-by: oleg.hoefling <[email protected]>
1 parent e271d8e commit 461541e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/keys.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -453,7 +453,7 @@ static int PyXmlSec_KeyNameSet(PyObject* self, PyObject* value, void* closure) {
453453
}
454454

455455
if (value == NULL) {
456-
if (xmlSecKeySetName(key->handle, value) < 0) {
456+
if (xmlSecKeySetName(key->handle, NULL) < 0) {
457457
PyXmlSec_SetLastError("cannot delete name");
458458
return -1;
459459
}

0 commit comments

Comments
 (0)