Commit e3615195 authored by Matthieu Tanon's avatar Matthieu Tanon

Rename cmake option for LIMEv2

parent 56f8643e
......@@ -47,7 +47,7 @@ option(ENABLE_DAEMON "Enable the linphone daemon interface." YES)
option(ENABLE_DATE "Use build date in internal version number." NO)
option(ENABLE_DEBUG_LOGS "Turn on or off debug level logs." NO)
option(ENABLE_DOC "Enable API documentation generation." NO)
option(ENABLE_LIME_V2 "Enable LIME v2 and X3DH." YES)
option(ENABLE_LIME_X3DH "Enable LIMEv2 and X3DH encryption protocol." YES)
option(ENABLE_JAVA_WRAPPER "Build the Java wrapper for Liblinphone." OFF)
option(ENABLE_JAVADOC "Add a target to generate documentation for Java API" NO)
option(ENABLE_LDAP "Enable LDAP support." NO)
......@@ -163,10 +163,10 @@ endif()
if(ENABLE_ASSISTANT)
set(BUILD_WIZARD 1)
endif()
if(ENABLE_LIME AND ENABLE_LIME_V2)
if(ENABLE_LIME AND ENABLE_LIME_X3DH)
message(FATAL_ERROR "Lime V1 and V2 cannot be used simultaneously")
endif()
if(ENABLE_LIME_V2)
if(ENABLE_LIME_X3DH)
find_package(Lime REQUIRED)
set(HAVE_LIME_X3DH TRUE)
endif()
......
......@@ -82,7 +82,6 @@ void sal_signing_key_delete(belle_sip_signing_key_t *key) {
int sal_auth_compute_ha1(const char* userid,const char* realm,const char* password, char ha1[33]) {
return belle_sip_auth_helper_compute_ha1(userid, realm, password, ha1);
}
int sal_auth_compute_ha1_for_algorithm(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment