summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorAleksey Sanin <aleksey@src.gnome.org>2003-04-20 22:23:56 +0000
committerAleksey Sanin <aleksey@src.gnome.org>2003-04-20 22:23:56 +0000
commit3a896f019b34bb60538a1e72008bb4af7db46980 (patch)
tree30522cc2bbd6627d0a755c3b59f5717b21704243 /apps
parent640939c3e04aaa4b778f817607903559067e19fd (diff)
downloadxmlsec1-3a896f019b34bb60538a1e72008bb4af7db46980.tar.gz
xmlsec1-3a896f019b34bb60538a1e72008bb4af7db46980.tar.bz2
xmlsec1-3a896f019b34bb60538a1e72008bb4af7db46980.zip
replaced 'unsigned char' with xmlSecByte typedefed to 'unsigned int' to
* src/* include/* apps/*: replaced 'unsigned char' with xmlSecByte typedefed to 'unsigned int' to make happy OpenBSD on sparc64 * examples/*: replaced configure.in with simple Makefile to prevent problems on different platforms
Diffstat (limited to 'apps')
-rw-r--r--apps/cmdline.c6
-rw-r--r--apps/xmlsec.c2
2 files changed, 4 insertions, 4 deletions
diff --git a/apps/cmdline.c b/apps/cmdline.c
index 6ae26084..ec898776 100644
--- a/apps/cmdline.c
+++ b/apps/cmdline.c
@@ -104,7 +104,7 @@ xmlSecAppCmdLineParamsListParse(xmlSecAppCmdLineParamPtr* params,
void
xmlSecAppCmdLineParamsListClean(xmlSecAppCmdLineParamPtr* params) {
xmlSecAppCmdLineValuePtr tmp;
- xmlSecSize i;
+ size_t i;
assert(params != NULL);
@@ -121,7 +121,7 @@ void
xmlSecAppCmdLineParamsListPrint(xmlSecAppCmdLineParamPtr* params,
xmlSecAppCmdLineParamTopic topics,
FILE* output) {
- xmlSecSize i;
+ size_t i;
assert(params != NULL);
assert(output != NULL);
@@ -183,7 +183,7 @@ xmlSecAppCmdLineMatchParam(const char* argvParam, const char* paramName,
static xmlSecAppCmdLineParamPtr
xmlSecAppCmdLineParamsListFind(xmlSecAppCmdLineParamPtr* params, xmlSecAppCmdLineParamTopic topics,
const char* name) {
- xmlSecSize i;
+ size_t i;
int canHaveNameString;
assert(params != NULL);
diff --git a/apps/xmlsec.c b/apps/xmlsec.c
index ead6d339..e8befd21 100644
--- a/apps/xmlsec.c
+++ b/apps/xmlsec.c
@@ -1479,7 +1479,7 @@ xmlSecAppEncryptTmpl(void) {
/* encrypt */
start_time = clock();
if(xmlSecEncCtxBinaryEncrypt(&encCtx, xmlDocGetRootElement(doc),
- (const unsigned char*)data, strlen(data)) < 0) {
+ (const xmlSecByte*)data, strlen(data)) < 0) {
fprintf(stderr, "Error: failed to encrypt data\n");
goto done;
}