diff options
Diffstat (limited to 'extra/mariabackup/xbcrypt_common.c')
-rw-r--r-- | extra/mariabackup/xbcrypt_common.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/extra/mariabackup/xbcrypt_common.c b/extra/mariabackup/xbcrypt_common.c index fe34fcb3bb0..52fa2ce3589 100644 --- a/extra/mariabackup/xbcrypt_common.c +++ b/extra/mariabackup/xbcrypt_common.c @@ -27,6 +27,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA # pragma GCC diagnostic ignored "-Wdeprecated-declarations" #endif +#ifdef HAVE_GRYPT #include <gcrypt.h> #if GCC_VERSION >= 4002 @@ -58,3 +59,4 @@ xb_crypt_create_iv(void* ivbuf, size_t ivlen) { gcry_create_nonce(ivbuf, ivlen); } +#endif
\ No newline at end of file |