diff options
author | Matthias Andree <matthias.andree@gmx.de> | 2010-09-27 13:24:02 +0200 |
---|---|---|
committer | Matthias Andree <matthias.andree@gmx.de> | 2010-09-27 13:24:02 +0200 |
commit | 43dc72537228ac7c4819ac70b9737c25ceb9f75a (patch) | |
tree | 0a6638dfd48136e5d998e277743e1fc66ca75932 | |
parent | 52a26f732375c2edaff8b36db6c27e23126e3a5c (diff) | |
download | fetchmail-43dc72537228ac7c4819ac70b9737c25ceb9f75a.tar.gz fetchmail-43dc72537228ac7c4819ac70b9737c25ceb9f75a.tar.bz2 fetchmail-43dc72537228ac7c4819ac70b9737c25ceb9f75a.zip |
Validate challenge to AUTH[ENTICATE] GSSAPI and warn if malformed.
-rw-r--r-- | gssapi.c | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -153,6 +153,13 @@ int do_gssauth(int sock, const char *command, const char *service, if (result) return result; + if (strcmp(buf1, "+ ")) { + if (outlevel >= O_VERBOSE) { + report(stdout, GT_("Warning: received malformed challenge to \"%s GSSAPI\"!"), command); + } + } + + /* now start the security context initialisation loop... */ sec_token = GSS_C_NO_BUFFER; context = GSS_C_NO_CONTEXT; |