diff options
author | Simon Josefsson <simon@josefsson.org> | 2004-10-27 19:53:16 +0000 |
---|---|---|
committer | Simon Josefsson <simon@josefsson.org> | 2004-10-27 19:53:16 +0000 |
commit | ddb13c151c1abc1439a21a89069731fc9d41510d (patch) | |
tree | eebadf1ebb089722c5ab2afd4bcbc6c26702c672 /lib | |
parent | e5bd017ee21d27e7850a077e4c4f91c643e73e06 (diff) | |
download | gnutls-ddb13c151c1abc1439a21a89069731fc9d41510d.tar.gz |
Make it compile.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/x509/common.c | 4 |
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). |