diff options
author | Simo Sorce <simo@redhat.com> | 2012-03-02 15:04:12 -0500 |
---|---|---|
committer | Simo Sorce <simo@redhat.com> | 2012-03-22 02:36:45 -0400 |
commit | 09f970b514d9896c57d958515fca1299c03bc3ea (patch) | |
tree | d0fbe5b78fa4e385f23c6c45ec74a98561e65f0a | |
parent | 403119d7f4d4070bfd8f7fb796729127666e2e11 (diff) | |
download | gss-proxy-09f970b514d9896c57d958515fca1299c03bc3ea.tar.gz gss-proxy-09f970b514d9896c57d958515fca1299c03bc3ea.tar.xz gss-proxy-09f970b514d9896c57d958515fca1299c03bc3ea.zip |
conv: Fix typo causing bad output.
-rw-r--r-- | proxy/src/gp_conv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/proxy/src/gp_conv.c b/proxy/src/gp_conv.c index 7eca8b5..e568f5e 100644 --- a/proxy/src/gp_conv.c +++ b/proxy/src/gp_conv.c @@ -322,7 +322,7 @@ int gp_conv_err_to_gssx_string(uint32_t status, int type, gss_OID oid, } } while (msg_ctx); - ret_str->utf8string_len = strlen(str + 1); + ret_str->utf8string_len = strlen(str) + 1; ret_str->utf8string_val = str; ret = 0; |