[xmlsec] Wrong parameter type

Igor Zlatkovic igor at zlatkovic.com
Tue Mar 22 10:11:33 PST 2005


Hi there,

The following patch to apps/xmlsec.c gives the --depth parameter the 
intended type. It should be a number, not time. No comments? Then I'll 
commit.

Ciao,
Igor
-------------- next part --------------
Index: apps/xmlsec.c
===================================================================
RCS file: /cvs/gnome/xmlsec/apps/xmlsec.c,v
retrieving revision 1.105
diff -c -r1.105 xmlsec.c
*** apps/xmlsec.c	6 Feb 2004 07:38:54 -0000	1.105
--- apps/xmlsec.c	22 Mar 2005 18:06:16 -0000
***************
*** 801,807 ****
      NULL,    
      "--depth <number>"
      "\n\tmaximum certificates chain depth",
!     xmlSecAppCmdLineParamTypeTime,
      xmlSecAppCmdLineParamFlagNone,
      NULL
  };
--- 801,807 ----
      NULL,    
      "--depth <number>"
      "\n\tmaximum certificates chain depth",
!     xmlSecAppCmdLineParamTypeNumber,
      xmlSecAppCmdLineParamFlagNone,
      NULL
  };


More information about the xmlsec mailing list