From 759fe9c6d5da9afafeb84f079c5fe6ad526fce25 Mon Sep 17 00:00:00 2001 From: Jan Vcelak Date: Thu, 19 Jul 2012 13:34:35 +0200 Subject: [PATCH] ITS#7327 smbk5pwd: error if crypto backend unsupported --- contrib/slapd-modules/smbk5pwd/smbk5pwd.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/contrib/slapd-modules/smbk5pwd/smbk5pwd.c b/contrib/slapd-modules/smbk5pwd/smbk5pwd.c index d4d7f6fe33..37f55da498 100644 --- a/contrib/slapd-modules/smbk5pwd/smbk5pwd.c +++ b/contrib/slapd-modules/smbk5pwd/smbk5pwd.c @@ -68,9 +68,11 @@ static ObjectClass *oc_krb5KDCEntry; #ifdef HAVE_GNUTLS #include typedef unsigned char DES_cblock[8]; -#else +#elif HAVE_OPENSSL #include #include +#else +#error Unsupported crypto backend. #endif #include "ldap_utf8.h" -- 2.39.5