Mailinglist Archive: opensuse-bugs (6552 mails)

< Previous Next >
[Bug 525980] knm4 fails to connect to wpa-psk network
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Wed, 12 Aug 2009 01:00:34 -0600
  • Message-id: <20090812070034.0997C245513@xxxxxxxxxxxxxxxxxxxxxx>
http://bugzilla.novell.com/show_bug.cgi?id=525980

User wstephenson@xxxxxxxxxx added comment
http://bugzilla.novell.com/show_bug.cgi?id=525980#c34





--- Comment #34 from Will Stephenson <wstephenson@xxxxxxxxxx> 2009-08-12
01:00:31 MDT ---
Created an attachment (id=312111)
--> (http://bugzilla.novell.com/attachment.cgi?id=312111)
KNM4 Hashing algorithm trivially hacked up to build standalone

g++ -O0 -DTEST_MAIN pbkdf2.cpp
Works

g++ -O2 -DTEST_MAIN pbkdf2.cpp
Fails

g++ -fno-strict-aliasing -O2 -DTEST_MAIN pbkdf2.cpp
Works

I was aware of the warnings but ignored them. I know ignoring warnings in
somebody else's crypto code sucks but it's one kind of coping strategy if you
know 0 about applied crypto and someone else is using the code successfully
(nm-applet). Maybe if I had time to keep abreast of compiler developments.

I'm adding -fno-strict-aliasing to the build system.

We can get rid of this in Factory when we update NM to 0.7.1 branch, as it
allows clients to pass in unhashed passphrases, and <= 11.1 g++ does not break
the hashing in release mode.

--
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

< Previous Next >