[vlc-commits] keystore: fix missing realm and authype

Thomas Guillem git at videolan.org
Mon Jan 23 10:22:22 CET 2017


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Mon Jan 23 10:19:18 2017 +0100| [5a4393b855cca23adf252bfbe96c673cdd8b77be] | committer: Thomas Guillem

keystore: fix missing realm and authype

This happened when the credential was fetched from a keystore.

Fix #17859

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=5a4393b855cca23adf252bfbe96c673cdd8b77be
---

 src/misc/keystore.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/misc/keystore.c b/src/misc/keystore.c
index 79c9b57..02537f0 100644
--- a/src/misc/keystore.c
+++ b/src/misc/keystore.c
@@ -339,6 +339,8 @@ credential_find_keystore(vlc_credential *p_credential, vlc_keystore *p_keystore)
         {
             p_credential->psz_password = (const char *)p_entry->p_secret;
             p_credential->psz_username = p_entry->ppsz_values[KEY_USER];
+            p_credential->psz_realm = p_entry->ppsz_values[KEY_REALM];
+            p_credential->psz_authtype = p_entry->ppsz_values[KEY_AUTHTYPE];
             p_credential->b_from_keystore = true;
         }
     }



More information about the vlc-commits mailing list