# needs fork()
depends on BR2_USE_MMU
depends on !BR2_STATIC_LIBS
+ select BR2_PACKAGE_LIBOPENSSL_ENABLE_DES if BR2_PACKAGE_LIBOPENSSL
+ select BR2_PACKAGE_LIBOPENSSL_ENABLE_MD4 if BR2_PACKAGE_LIBOPENSSL
+ select BR2_PACKAGE_LIBOPENSSL_ENABLE_RC4 if BR2_PACKAGE_LIBOPENSSL
help
Kerberos is a system for authenticating users and services
on a network. Kerberos is a trusted third-party service.
LIBKRB5_CONF_OPTS += --without-ldap
endif
+ifeq ($(BR2_PACKAGE_OPENSSL),y)
+LIBKRB5_CONF_OPTS += \
+ --enable-pkinit \
+ --with-crypto-impl=openssl \
+ --with-spake-openssl \
+ --with-tls-impl=openssl
+LIBKRB5_DEPENDENCIES += openssl
+else
+LIBKRB5_CONF_OPTS += \
+ --disable-pkinit \
+ --with-crypto-impl=builtin \
+ --without-spake-openssl \
+ --without-tls-impl
+endif
+
ifeq ($(BR2_PACKAGE_LIBEDIT),y)
LIBKRB5_CONF_OPTS += --with-libedit
LIBKRB5_DEPENDENCIES += host-pkgconf libedit