Which header file I need to include for X509 OCSP Certificate Verification

Kumar Mishra, Sanjeev Sanjeev.Kumar-Mishra at rbbn.com
Wed May 19 07:23:24 UTC 2021


Hi,
Which header file I need to include for X509 OCSP Certificate Verification. I am getting compilation error for different structures and macros. Although, I am including following files-

   // #include <ec/ec_lcl.h>
    #include <openssl/err.h>
    #include <openssl/engine.h>
    #include <sonusTlsProfile.h>
    #include <openssl/ocsp.h>
    // #include <openssl/x509_vfy_ocsp.h>
     #include <openssl/opensslconf.h> //SANJEEV ADDED
    #include <openssl/x509v3.h>
    #include <openssl/ec.h>
    // #include <openssl/fips.h>
    #include "fipsUtils.h"

 For example -

  X509_CERT_OCSP *ocsp_info = NULL;

Is this structure is opaque in OpenSSL 3.0 ? How to use this structure?

Thanks With Best Regards,
Sanjeev Kumar Mishra



Notice: This e-mail together with any attachments may contain information of Ribbon Communications Inc. and its Affiliates that is confidential and/or proprietary for the sole use of the intended recipient. Any review, disclosure, reliance or distribution by others or forwarding without express permission is strictly prohibited. If you are not the intended recipient, please notify the sender immediately and then delete all copies, including any attachments.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mta.openssl.org/pipermail/openssl-users/attachments/20210519/e1e874ba/attachment-0001.html>


More information about the openssl-users mailing list