From: Jan Vcelak Date: Thu, 19 Jul 2012 11:34:35 +0000 (+0200) Subject: ITS#7327 smbk5pwd: error if crypto backend unsupported X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=759fe9c6d5da9afafeb84f079c5fe6ad526fce25;p=openldap ITS#7327 smbk5pwd: error if crypto backend unsupported --- 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"