You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

11 lines
412 B

--- a/loudmouth/lm-sasl.c
+++ b/loudmouth/lm-sasl.c
@@ -529,7 +529,7 @@ sasl_md5_prepare_response (LmSASL *sasl,
}
nonce = g_hash_table_lookup (challenge, "nonce");
- if (nonce == NULL || nonce == '\0') {
+ if (nonce == NULL || *nonce == '\0') {
g_log (LM_LOG_DOMAIN, LM_LOG_LEVEL_SASL,
"%s: server didn't provide a nonce in the challenge",
G_STRFUNC);