Commit 6841a105 authored by Rafaël Carré's avatar Rafaël Carré

update: do not modify base64 input to add \0 terminators

It is not needed anymore since ce652138 , parsing will
stop at first unrecognized character (like \r or \n)
parent 3d7a65c1
......@@ -392,10 +392,7 @@ static int pgp_unarmor( char *p_ibuf, size_t i_ibuf_len,
if( p_ipos[i_line_len - 1] == '=' )
{
i_end = 1;
p_ipos[i_line_len - 1] = '\0';
}
else
p_ipos[i_line_len] = '\0';
p_opos += vlc_b64_decode_binary_to_buffer( p_opos,
p_obuf - p_opos + i_obuf_len, p_ipos );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment