summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2004-10-27 19:53:16 +0000
committerSimon Josefsson <simon@josefsson.org>2004-10-27 19:53:16 +0000
commitddb13c151c1abc1439a21a89069731fc9d41510d (patch)
treeeebadf1ebb089722c5ab2afd4bcbc6c26702c672 /lib
parente5bd017ee21d27e7850a077e4c4f91c643e73e06 (diff)
downloadgnutls-ddb13c151c1abc1439a21a89069731fc9d41510d.tar.gz
Make it compile.
Diffstat (limited to 'lib')
-rw-r--r--lib/x509/common.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/x509/common.c b/lib/x509/common.c
index f992b5e07b..78d5e377d0 100644
--- a/lib/x509/common.c
+++ b/lib/x509/common.c
@@ -218,8 +218,8 @@ int _gnutls_x509_oid_data2string(const char *oid, void *value,
_gnutls_str_cpy(res, *res_size, str);
*res_size = len;
} else { /* CHOICE */
- str[len] = 0;
- int non_printable = 0, teletex = 0;
+ int non_printable = 0, teletex = 0;
+ str[len] = 0;
/* Note that we do not support strings other than
* UTF-8 (thus ASCII as well).