Next: zlib, Up: Libraries [Contents][Index]

#### 2.2.1 OpenSSL

For all cryptography-related functions, tinc uses the functions provided by the OpenSSL library.

If this library is not installed, you wil get an error when configuring tinc for build. Support for running tinc with other cryptographic libraries installed may be added in the future.

You can use your operating system’s package manager to install this if available. Make sure you install the development AND runtime versions of this package.

If you have to install OpenSSL manually, you can get the source code from http://www.openssl.org/. Instructions on how to configure, build and install this package are included within the package. Please make sure you build development and runtime libraries (which is the default).

If you installed the OpenSSL libraries from source, it may be necessary to let configure know where they are, by passing configure one of the –with-openssl-* parameters.

    --with-openssl=DIR      OpenSSL library and headers prefix
    --with-openssl-include=DIR OpenSSL headers directory
                            (Default is OPENSSL_DIR/include)
    --with-openssl-lib=DIR  OpenSSL library directory
                            (Default is OPENSSL_DIR/lib)

#### License

The complete source code of tinc is covered by the GNU GPL version 2. Since the license under which OpenSSL is distributed is not directly compatible with the terms of the GNU GPL http://www.openssl.org/support/faq.html#LEGAL2, we include an exemption to the GPL (see also the file COPYING.README) to allow everyone to create a statically or dynamically linked executable:

> This program is released under the GPL with the additional exemption that compiling, linking, and/or using OpenSSL is allowed. You may provide binary packages linked to the OpenSSL libraries, provided that all other requirements of the GPL are met.

Since the LZO library used by tinc is also covered by the GPL, we also present the following exemption:

> Hereby I grant a special exception to the tinc VPN project (http://www.tinc-vpn.org/) to link the LZO library with the OpenSSL library (http://www.openssl.org).

> Markus F.X.J. Oberhumer

Next: zlib, Up: Libraries [Contents][Index]