Module: kamailio Branch: 5.1 Commit: 968722b7b6769c1416cc35b23969b06ce3416181 URL: https://github.com/kamailio/kamailio/commit/968722b7b6769c1416cc35b23969b06c...
Author: Daniel-Constantin Mierla miconda@gmail.com Committer: Daniel-Constantin Mierla miconda@gmail.com Date: 2017-12-08T16:55:14+01:00
auth_ephemeral: init the return code
(cherry picked from commit 236b0b4bca0ce8931bd06fd88720f3293b651682)
---
Modified: src/modules/auth_ephemeral/authorize.c
---
Diff: https://github.com/kamailio/kamailio/commit/968722b7b6769c1416cc35b23969b06c... Patch: https://github.com/kamailio/kamailio/commit/968722b7b6769c1416cc35b23969b06c...
---
diff --git a/src/modules/auth_ephemeral/authorize.c b/src/modules/auth_ephemeral/authorize.c index 8e4489947c..745f12d7ab 100644 --- a/src/modules/auth_ephemeral/authorize.c +++ b/src/modules/auth_ephemeral/authorize.c @@ -213,7 +213,7 @@ static inline int digest_authenticate(struct sip_msg *_m, str *_realm, hdr_types_t _hftype, str *_method) { struct hdr_field* h; - auth_cfg_result_t ret; + auth_cfg_result_t ret = AUTH_ERROR; auth_result_t rauth; struct secret *secret_struct; str username; @@ -548,4 +548,4 @@ int autheph_authenticate(struct sip_msg *_m, char *_username, char *_password) }
return ki_autheph_authenticate(_m, &susername, &spassword); -} \ No newline at end of file +}