<div dir="ltr">With OpenSSL version 1.1.1, my previously working code is now failing with this error:<div><br></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><i><font color="#ff0000">error: dereferencing pointer to incomplete type ‘X509_NAME_ENTRY {aka struct X509_name_entry_st}’</font></i></div></blockquote><div><br></div><div>Basically, I am trying to do the following...</div><div><br></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div>X509_NAME_ENTRY *nameEntry;</div><div>nameEntry = X509_NAME_ENTRY_create_by_NID (&nameEntry, nid,</div>                        derTagToVType (tag), buffer, bufferLength);<div><b>nameEntry->value->flags = specifiedFlags;</b></div></blockquote><div><br></div><div>And the error occurs at the last line above only with this newer version of OpenSSL 1.1.1 and not with any of the older versions I have been using for many years.</div><div><br></div><div>Unfortunately, I do not see any function in the openssl include files such as "<b>X509_NAME_ENTRY_set_flags</b>(...)" which are available to use instead.</div><div><br></div><div>Does anyone know if there any alternative generic method in OpenSSL 1.1.1 to set flags for a X509_NAME_ENTRY, which is independent of the ASN.1 type of the X509_NAME_ENTRY?</div><div><br></div><div>Thanks.</div><div><br></div><div>Lisa.</div><div><br></div><div><br></div></div>