Just add an explicit cast: if ((r=d2i_X509(NULL,(const unsigned char**)&cert->data,cert->data_len))+++==NULL)
Log in to post a comment.