Commit c5964643 authored by Matthieu Tanon's avatar Matthieu Tanon

Remove unused and confusing method

parent 7d1024c2
......@@ -85,11 +85,6 @@ int sal_auth_compute_ha1(const char* userid,const char* realm,const char* passwo
}
int sal_auth_compute_ha1_for_algo(const char* userid,const char* realm,const char* password, char ha1[65]) {
return belle_sip_auth_helper_compute_ha1_for_algorithm(userid, realm, password, ha1, 65, "SHA-256");
}
int sal_auth_compute_ha1_for_algorithm(
const char *userid,
const char *realm,
......
......@@ -488,13 +488,8 @@ extern "C" {
SalAuthInfo* sal_auth_info_new(void);
SalAuthInfo* sal_auth_info_clone(const SalAuthInfo* auth_info);
void sal_auth_info_delete(SalAuthInfo* auth_info);
// <<<<<<< HEAD:src/c-wrapper/internal/c-sal.h
LINPHONE_PUBLIC int sal_auth_compute_ha1(const char *userid, const char *realm, const char *password, char ha1[33]);
LINPHONE_PUBLIC int sal_auth_compute_ha1_for_algorithm(const char *userid, const char *realm, const char *password, char *ha1, size_t size, const char *algo);
// =======
// LINPHONE_PUBLIC int sal_auth_compute_ha1(const char* userid,const char* realm,const char* password, char ha1[33]);
// LINPHONE_PUBLIC int sal_auth_compute_ha1_for_algo(const char* userid,const char* realm,const char* password, char ha1[65]);
// >>>>>>> 6b886a6f0... Add algo in account creater for supporting SHA-256 and add tests for this:include/sal/sal.h
SalAuthMode sal_auth_info_get_mode(const SalAuthInfo* auth_info);
belle_sip_signing_key_t *sal_auth_info_get_signing_key(const SalAuthInfo* auth_info);
belle_sip_certificates_chain_t *sal_auth_info_get_certificates_chain(const SalAuthInfo* auth_info);
......
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