[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
gsasl_check_version fails for GASL_VERSION
From: |
cascardo |
Subject: |
gsasl_check_version fails for GASL_VERSION |
Date: |
Fri, 8 Dec 2006 12:27:45 -0200 |
User-agent: |
Mutt/1.5.13 (2006-08-11) |
Hello, Simon Josefsson.
I've decided to use GNU SASL in a IM proxy I'm developing. In fact, I'm
gonna use GNU TLS too. Thank you very much for these software you
develop for the GNU project.
While trying some code with GNU SASL and reading the manual, I've found
that gsasl_check_version should return the version (and not NULL) of
GSASL when GSASL_VERSION is the parameter used. When printing both
GSASL_VERSION and the value returned by gsasl_check_version with the
NULL parameter, they are the same.
However, gsasl_check_version keeps returning NULL when the version value
is equal. By the manual, "the version of the library is at the minimum
the one given as a string", I expect that when the version is equal it
should return the version and not NULL.
The fix is simple, the test is also simple. Both are attached, and I
think it will not require copyright assignment for the FSF, although I
would gladly do it if it is needed.
Regards,
Thadeu Cascardo.
test_version.c
Description: Text Data
version.c.patch
Description: Text document
- gsasl_check_version fails for GASL_VERSION,
cascardo <=