Replace use of tvb_get_ephemeral_faked_unicode() by use of tvb_get_ephemeral_unicode_string();

Fix encoding arg.


svn path=/trunk/; revision=39531
This commit is contained in:
Bill Meier 2011-10-23 23:13:57 +00:00
parent d7a1840204
commit b0e7a54741
2 changed files with 2 additions and 2 deletions

View File

@ -356,7 +356,7 @@ XDayOf/fifth fifth_dayof
if (! wide_tvb) {
return offset;
}
string = tvb_get_ephemeral_faked_unicode (wide_tvb, 0, tvb_length(wide_tvb) / 2, FALSE);
string = tvb_get_ephemeral_unicode_string (wide_tvb, 0, tvb_length(wide_tvb) / 2, ENC_BIG_ENDIAN);
proto_item_append_text(actx->created_item, " %s", string);
#.END

View File

@ -1518,7 +1518,7 @@ dissect_x509sat_SyntaxBMPString(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, in
if (! wide_tvb) {
return offset;
}
string = tvb_get_ephemeral_faked_unicode (wide_tvb, 0, tvb_length(wide_tvb) / 2, FALSE);
string = tvb_get_ephemeral_unicode_string (wide_tvb, 0, tvb_length(wide_tvb) / 2, ENC_BIG_ENDIAN);
proto_item_append_text(actx->created_item, " %s", string);