Skip to content

Commit

Permalink
Issue#737: Define the proper HAVE_LIBRESSL macro, to properly build on
Browse files Browse the repository at this point in the history
platforms using libressl (such as Alpine).
  • Loading branch information
Castaglia committed Aug 10, 2018
1 parent 1f77134 commit 2696745
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion contrib/mod_digest.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* ProFTPD: mod_digest - File hashing/checksumming module
* Copyright (c) Mathias Berchtold <mb@smartftp.com>
* Copyright (c) 2016-2017 TJ Saunders <tj@castaglia.org>
* Copyright (c) 2016-2018 TJ Saunders <tj@castaglia.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
Expand Down Expand Up @@ -77,6 +77,11 @@
# include <openssl/err.h>
#endif

/* Define if you have the LibreSSL library. */
#if defined(LIBRESSL_VERSION_NUMBER)
# define HAVE_LIBRESSL 1
#endif

module digest_module;

static int digest_caching = TRUE;
Expand Down

0 comments on commit 2696745

Please sign in to comment.