summaryrefslogtreecommitdiffstats
path: root/libarchive/archive_openssl_hmac_private.h
diff options
context:
space:
mode:
authorLibArchive Upstream <libarchive-discuss@googlegroups.com>2020-02-11 21:49:11 (GMT)
committerBrad King <brad.king@kitware.com>2020-02-13 17:57:28 (GMT)
commit8cce62295a5ddca3e0d1fd7cff0229054972dfe3 (patch)
tree1114d426e2e581164d202a456b31aacc6c94dfb1 /libarchive/archive_openssl_hmac_private.h
parent2aaed7a05053c3bcbebbff5ae1beb51e590b3ad1 (diff)
downloadCMake-8cce62295a5ddca3e0d1fd7cff0229054972dfe3.zip
CMake-8cce62295a5ddca3e0d1fd7cff0229054972dfe3.tar.gz
CMake-8cce62295a5ddca3e0d1fd7cff0229054972dfe3.tar.bz2
LibArchive 2020-02-11 (3288ebb0)
Code extracted from: https://github.com/libarchive/libarchive.git at commit 3288ebb0353beb51dfb09d444dedbe9235ead53d (v3.4.2).
Diffstat (limited to 'libarchive/archive_openssl_hmac_private.h')
-rw-r--r--libarchive/archive_openssl_hmac_private.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libarchive/archive_openssl_hmac_private.h b/libarchive/archive_openssl_hmac_private.h
index 921249b..25c8dda 100644
--- a/libarchive/archive_openssl_hmac_private.h
+++ b/libarchive/archive_openssl_hmac_private.h
@@ -22,9 +22,14 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+
#ifndef ARCHIVE_OPENSSL_HMAC_PRIVATE_H_INCLUDED
#define ARCHIVE_OPENSSL_HMAC_PRIVATE_H_INCLUDED
+#ifndef __LIBARCHIVE_BUILD
+#error This header is only to be used internally to libarchive.
+#endif
+
#include <openssl/hmac.h>
#include <openssl/opensslv.h>