-
Alessandro Bono authored
The function d2i_X509() might modify the pdata value[1]: "If the call is successful *in is incremented to the byte following the parsed data." Thus, when we try to copy the certificate data into a GBytes we might read the wrong thing. Use the original pointer instead. [1] https://linux.die.net/man/3/d2i_x509