mainGnuTLS - Support: sr #106342, 2.3.5:...

 
 

sr #106342: 2.3.5: --disable-srp-authentication doesn't turn off SRP tests

Submitter:  None
Submitted:  Tue 15 Apr 2008 03:03:38 PM UTC
   
 
Category:  None Priority:  5 - Normal
Severity:  3 - Normal Status:  Done
Privacy:  Public Assigned to:  jas
Originator Email:  -email is unavailable- Open/Closed:  Closed
Operating System:  GNU/Linux
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 15 May 2008 10:56:43 AM UTC, comment #2: 

I have built latest gnutls wiht --disable-srp-authentication and --disable-openpgp-authentication and it builds fine.  Closing this.  Thanks for report!

Simon Josefsson <jas>
Group administrator
Wed 07 May 2008 01:41:34 PM UTC, comment #1: 

Thanks for the report.  I've checked in a fix for this in:

http://git.savannah.gnu.org/gitweb/?p=gnutls.git;a=commitdiff;h=e91acdf32910381cbd4fd8908c0625a187488bae

I'm testing it now.

/Simon

Simon Josefsson <jas>
Group administrator
Tue 15 Apr 2008 03:03:38 PM UTC, original submission:  

I gave the configure script for gnutls 2.3.5 the argument '--disable-srp-authentication'. I believe it was the 'make check' that failed, first because an example written in C tried to use an SRP function and it wasn't in the built gnutls library, then because the Guile extension code tried to bind SRP functions into Guile that weren't in the built gnutls library, then (when I fixed that) the Guile test for the SRP functionality failed because of unbound variables.

So, input: ./configure --disable-srp-authentication; expected output: everything builds and tests fine; actual output: tests fail.

Attached are the patches I made to address the problem in my build. I recommend the first two (*example-nosrp.patch and *guile-nosrp.patch); the third (*guiletests-nosrp.patch) turns off the Guile test unconditionally and should not be applied as is.

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #15454:  gnutls-2.3.5-example-nosrp.patch added by None (468B - text/x-patch - patches to turn off SRP test code when --disable-srp-authentication is asserted)
file #15455:  gnutls-2.3.5-guiletests-nosrp.patch added by None (674B - text/x-patch - patches to turn off SRP test code when --disable-srp-authentication is asserted)
file #15456:  gnutls-2.3.5-guile-nosrp.patch added by None (1KiB - text/x-patch - patches to turn off SRP test code when --disable-srp-authentication is asserted)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by jas (Posted a comment)
  • -email is unavailable- added by None (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2008-05-15 jas StatusNone Done
        Open/ClosedOpen Closed
    2008-05-07 jas Assigned toNone jas
    2008-04-15 None Attached File- Added gnutls-2.3.5-example-nosrp.patch, #15454
        Attached File- Added gnutls-2.3.5-guiletests-nosrp.patch, #15455
        Attached File- Added gnutls-2.3.5-guile-nosrp.patch, #15456

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code