This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "GNU gsasl".
http://git.savannah.gnu.org/cgit/gsasl.git/commit/?id=b2e0f20e3aac330f64b41960dd5a2e359a6d35b0 The branch, master has been updated via b2e0f20e3aac330f64b41960dd5a2e359a6d35b0 (commit) via 5b8a68cbb7be5e58e96a1ef36d5c888ced47f8bd (commit) via f965060b901bb42dd47c27b5c2f09647018a3176 (commit) via 759270d072f2898187be86bc2d5cecad0e109300 (commit) from 08d957fa3634d6ed920ba74a69a98d7e4d2842ee (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit b2e0f20e3aac330f64b41960dd5a2e359a6d35b0 Author: Simon Josefsson <[email protected]> Date: Thu Sep 10 09:39:54 2009 +0200 Add. commit 5b8a68cbb7be5e58e96a1ef36d5c888ced47f8bd Author: Simon Josefsson <[email protected]> Date: Thu Sep 10 09:37:48 2009 +0200 Add. commit f965060b901bb42dd47c27b5c2f09647018a3176 Author: Simon Josefsson <[email protected]> Date: Thu Sep 10 09:37:05 2009 +0200 Fix typo. commit 759270d072f2898187be86bc2d5cecad0e109300 Author: Simon Josefsson <[email protected]> Date: Thu Sep 10 09:35:11 2009 +0200 Add. ----------------------------------------------------------------------- Summary of changes: .gitignore | 124 ++++++++++++++++++++++++++++++++++++++++++++++++++++ lib/scram/parser.c | 10 +++-- 2 files changed, 130 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index fa8e77b..c3eccd9 100644 --- a/.gitignore +++ b/.gitignore @@ -33,6 +33,21 @@ examples/client examples/client-callback examples/client-mech examples/client-serverfirst +gl/alloca.h +gl/arpa/ +gl/charset.alias +gl/configmake.h +gl/iconv_open-aix.h +gl/iconv_open-hpux.h +gl/iconv_open-irix.h +gl/iconv_open-osf.h +gl/iconv_open-solaris.h +gl/ref-add.sed +gl/ref-del.sed +gl/stdio.h +gl/stdlib.h +gl/string.h +gl/unistd.h lib/aclocal.m4 lib/autom4te.cache/ lib/build-aux/config.guess @@ -48,14 +63,123 @@ lib/config.h.in lib/config.log lib/config.status lib/configure +lib/digest-md5/test-parser +lib/gl/alloca.h +lib/gl/stdio.h +lib/gl/stdlib.h +lib/gl/string.h +lib/gl/unistd.h +lib/gltests/libtests.a +lib/gltests/test-alloca-opt +lib/gltests/test-base64 +lib/gltests/test-errno +lib/gltests/test-getdelim +lib/gltests/test-getline +lib/gltests/test-memchr +lib/gltests/test-rawmemchr +lib/gltests/test-stdbool +lib/gltests/test-stddef +lib/gltests/test-stdint +lib/gltests/test-stdio +lib/gltests/test-stdlib +lib/gltests/test-strchrnul +lib/gltests/test-string +lib/gltests/test-strverscmp +lib/gltests/test-unistd +lib/gltests/test-vasnprintf +lib/gltests/test-vasprintf +lib/gltests/test-wchar lib/libgsasl.pc lib/libtool +lib/m4/codeset.m4 +lib/m4/gettext.m4 +lib/m4/glibc2.m4 +lib/m4/glibc21.m4 +lib/m4/iconv.m4 +lib/m4/intdiv0.m4 +lib/m4/intl.m4 +lib/m4/intldir.m4 +lib/m4/intlmacosx.m4 +lib/m4/intmax.m4 +lib/m4/inttypes-pri.m4 +lib/m4/inttypes_h.m4 +lib/m4/lcmessage.m4 +lib/m4/lib-ld.m4 +lib/m4/lib-link.m4 +lib/m4/lib-prefix.m4 +lib/m4/libtool.m4 +lib/m4/lock.m4 +lib/m4/longlong.m4 +lib/m4/ltoptions.m4 +lib/m4/ltsugar.m4 +lib/m4/ltversion.m4 +lib/m4/lt~obsolete.m4 +lib/m4/nls.m4 +lib/m4/po.m4 +lib/m4/printf-posix.m4 +lib/m4/progtest.m4 +lib/m4/size_max.m4 +lib/m4/stdint_h.m4 +lib/m4/uintmax_t.m4 +lib/m4/visibility.m4 +lib/m4/wchar_t.m4 +lib/m4/wint_t.m4 +lib/m4/xsize.m4 lib/po/ lib/stamp-h1 +lib/tests/test-error libtool +m4/codeset.m4 +m4/gettext.m4 +m4/glibc2.m4 +m4/glibc21.m4 +m4/iconv.m4 +m4/intdiv0.m4 +m4/intl.m4 +m4/intldir.m4 +m4/intlmacosx.m4 +m4/intmax.m4 +m4/inttypes-pri.m4 +m4/inttypes_h.m4 +m4/lcmessage.m4 +m4/lib-ld.m4 +m4/lib-link.m4 +m4/lib-prefix.m4 +m4/libtool.m4 +m4/lock.m4 +m4/longlong.m4 +m4/ltoptions.m4 +m4/ltsugar.m4 +m4/ltversion.m4 +m4/lt~obsolete.m4 +m4/nls.m4 +m4/po.m4 +m4/printf-posix.m4 +m4/progtest.m4 +m4/size_max.m4 +m4/stdint_h.m4 +m4/uintmax_t.m4 +m4/visibility.m4 +m4/wchar_t.m4 +m4/wint_t.m4 +m4/xsize.m4 po/ src/gsasl src/gsasl_cmd.c src/gsasl_cmd.h stamp-h1 +tests/cram-md5 +tests/crypto +tests/digest-md5 +tests/errors +tests/external +tests/md5file +tests/name +tests/old-base64 +tests/old-cram-md5 +tests/old-digest-md5 +tests/old-md5file +tests/old-simple tests/scram +tests/simple +tests/suggest diff --git a/lib/scram/parser.c b/lib/scram/parser.c index 86c3922..0d0ddbf 100644 --- a/lib/scram/parser.c +++ b/lib/scram/parser.c @@ -111,15 +111,17 @@ scram_parse_client_first (const char *str, size_t len, len = p - str; - cf->username = malloc (len + 1); - if (!cf->username) + cf->client_nonce = malloc (len + 1); + if (!cf->client_nonce) return -1; - memcpy (cf->username, str, len); - cf->username[len] = '\0'; + memcpy (cf->client_nonce, str, len); + cf->client_nonce[len] = '\0'; str = p; } + /* FIXME check that any extension fields follow valid syntax. */ + return 0; } hooks/post-receive -- GNU gsasl _______________________________________________ Gsasl-commit mailing list [email protected] http://lists.gnu.org/mailman/listinfo/gsasl-commit
