summaryrefslogtreecommitdiffhomepage
path: root/libs/px5g
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2009-06-10 17:35:23 +0000
committerJo-Philipp Wich <jow@openwrt.org>2009-06-10 17:35:23 +0000
commitb733587e181d5195d2562f9883b39213dcee529d (patch)
tree25a9f282b9078f42dbe3df37b88682c126e19e2c /libs/px5g
parenta0eb16cc03a5a18e572ffc01ef84114384da2443 (diff)
libs/px5g: fix "x509write.c:717: warning: 'ret' might be used uninitialized in this function"
Diffstat (limited to 'libs/px5g')
-rw-r--r--libs/px5g/src/library/x509write.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/px5g/src/library/x509write.c b/libs/px5g/src/library/x509write.c
index 353a1102f..173610c1a 100644
--- a/libs/px5g/src/library/x509write.c
+++ b/libs/px5g/src/library/x509write.c
@@ -714,7 +714,7 @@ static int x509write_parse_names(x509_node *node, unsigned char *names)
*ST = NULL, *L = NULL, *R = NULL;
int C_len = 0, CN_len = 0, O_len = 0, OU_len = 0, ST_len = 0,
L_len = 0, R_len = 0;
- int ret, is_tag = 1, is_begin = -1, len = 0;
+ int ret = 0, is_tag = 1, is_begin = -1, len = 0;
for (sp = names; ; ++sp) {