2
0
Эх сурвалжийг харах

auth_ephemeral: init the return code

Daniel-Constantin Mierla 7 жил өмнө
parent
commit
236b0b4bca

+ 2 - 2
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);
-}
+}