The receipt validation code depends on OpenSSL 1.0.0+. Thus, the code needs to be statically or dynamically linked.
- If your application DOES NOT depend on OpenSSL, this guide describes how to prepare a Xcode project to use the OpenSSL static library.
- If your application (or a component of the application) DOES depend on the pre-1.0.0 OpenSSL library (like the one found on OS X), define
RECEIGEN_USE_PRE_1_0_0_OPENSSLin your pre-processor flags.
The use of OpenSSL when linking statically requires to include these sentences in your application (in the
Credits.rtf file for example):
This product includes software developed by the OpenSSL Project for use in the OpenSSL Toolkit (http://www.openssl.org/). This product includes cryptographic software written by Eric Young (firstname.lastname@example.org).