OpenSSL compilation errors in Windows

Nagalakshmi V J nagalakshmi.j at
Tue Oct 1 13:03:12 UTC 2019

Thank you Matthias for the explanation. I am going through my code to understand why ssl_locl.h is included. I will check and get back on this ASAP. Also if there is other way to achieve that I will use the same.

Thanks and regards,

-----Original Message-----
From: Dr. Matthias St. Pierre <Matthias.St.Pierre at>
Sent: Tuesday, October 1, 2019 4:43 PM
To: Nagalakshmi V J <nagalakshmi.j at>
Cc: openssl-users at; Umamaheswari Nagarajan <umamaheswari.nagarajan at>
Subject: AW: OpenSSL compilation errors in Windows

** This mail has been sent from an external source **

> We are using OpenSSL APIs in our product code. We are not making any changes in OpenSSL.
> Our product code is a C++ code and it makes use of openSSL APIs for some functionality.

Local headers (like "ssl_locl.h" and "packet_locl.h") are *NOT* part of the official OpenSSL API.
Please don't expect any support w.r.t. compilation or compatibility problems if you do include them in your application, even more if it's compiled using a C++ compiler.

It would be more helpful if you would tell us *why* you are including ssl_locl.h and what you are trying to achieve. Then we might be able to tell you how you could achieve your goal using the officially supported API.

Please note that many of the OpenSSL structures were made opaque in version 1.1.0. This means that there are only forward declarations of the structures in the public headers and the compiler does not get to  see the structure members. Instead of directly accessing the members, it is now necessary to use accessor functions (a.k.a. getters and setters). If this is the reason why you are including private OpenSSL headers then you should adopt you application to use the new accessors instead, instead of forcing the impossible to circumvent the new policy.

For more information, see


Dr. Matthias St. Pierre
Senior Software Engineer at
Phone: +49 911 9968-0

Headquarters Germany: NCP engineering GmbH • Dombuehler Str. 2 • 90449 • Nuremberg North American HQ: NCP engineering Inc. • 678 Georgia Ave. • Sunnyvale, CA 94085 East Coast Office: NCP engineering Inc. • 601 Cleveland Str., Suite 501-25 • Clearwater, FL 33755

Authorized representatives: Peter Soell, Patrick Oliver Graf, Beate Dietrich Registry Court: Lower District Court of Nuremberg Commercial register No.: HRB 7786 Nuremberg, VAT identification No.: DE 133557619

This e-mail message including any attachments is for the sole use of the intended recipient(s) and may contain privileged or confidential information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please immediately contact the sender by reply e-mail and delete the original message and destroy all copies thereof.
Please refer to
for important disclosures regarding this electronic communication.

More information about the openssl-users mailing list