Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 236563 - net-misc/xsupplicant-1.2.2 problems in psk.c. (missing header)
Summary: net-misc/xsupplicant-1.2.2 problems in psk.c. (missing header)
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Mobile Herd (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-03 13:23 UTC by Niklas Johansson
Modified: 2010-05-26 11:26 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Adds missing include into affected file (openssl-sha.diff,280 bytes, patch)
2009-04-27 16:27 UTC, Ladislav Laska
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Niklas Johansson 2008-09-03 13:23:28 UTC
Hey.

I know that this package is hard masked for security reasons but I hope I can still enter a bug for this package.

When emerge xsupplicant-1.2.2 i got the following

psk.c: In function 'psk_wpa_pbkdf2_f':
psk.c:41: error: 'SHA_DIGEST_LENGTH' undeclared (first use in this function)
psk.c:41: error: (Each undeclared identifier is reported only once
psk.c:41: error: for each function it appears in.)
psk.c:41: warning: unused variable 'digest1'
psk.c: In function 'psk_wpa_pbkdf2':
psk.c:90: error: 'SHA_DIGEST_LENGTH' undeclared (first use in this function)
make[1]: *** [psk.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/var/tmp/portage/net-misc/xsupplicant-1.2.2/work/xsupplicant-1.2.2/src'
make: *** [all-recursive] Error 1

I went into the file (psk.c) and added
#include <openssl/sha.h>

and I got the file to compile. 


Reproducible: Always

Steps to Reproduce:
1. emerge xsupplicant
2.
3.
Comment 1 Niklas Johansson 2008-09-03 13:25:52 UTC
sorry for being unclear. I got the psk.c file to compile not the actual program.
Comment 2 Niklas Johansson 2008-09-03 13:59:30 UTC
(In reply to comment #1)
> sorry for being unclear. I got the psk.c file to compile not the actual
> program.
> 

Fixing the file and running ebuild merge I got it to install. (Thanks #gentoo-dev-help)

Comment 3 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2008-09-03 14:45:20 UTC
Probably worth fixing or just marking the package for removal. No since in keeping broken stuff in the tree even if it is hard masked..
Comment 4 Niklas Johansson 2008-09-03 14:52:20 UTC
(In reply to comment #3)
> Probably worth fixing or just marking the package for removal. No since in
> keeping broken stuff in the tree even if it is hard masked..
> 

I read something after I installed, the last note:
"Do not file a Gentoo bug ... report directly to upstream developers open1x.sourceforge.net"

I personally think it is a very important package but I am newbie.
Comment 5 Ladislav Laska 2009-04-27 16:27:15 UTC
Created attachment 189622 [details, diff]
Adds missing include into affected file
Comment 6 Thilo Bangert (RETIRED) (RETIRED) gentoo-dev 2010-05-26 11:26:57 UTC
xsupplicant-1.2.2 wont be fixed. sorry.

2.2.0 is being worked on, on bug #259738
thanks