Previous: Miscellaneous examples, Up: How to use GnuTLS in applications


7.6 Compatibility with the OpenSSL library

To ease GnuTLS' integration with existing applications, a compatibility layer with the widely used OpenSSL library is included in the gnutls-openssl library. This compatibility layer is not complete and it is not intended to completely reimplement the OpenSSL API with GnuTLS. It only provides source-level compatibility. There is currently no attempt to make it binary-compatible with OpenSSL.

The prototypes for the compatibility functions are in the gnutls/openssl.h header file.

Current limitations imposed by the compatibility layer include: