Fails to build with OpenSSL 1.0.0

Bug #785683 reported by Colin Watson
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
nmap (Debian)
Fix Released
Unknown
nmap (Ubuntu)
Fix Released
High
Unassigned

Bug Description

Binary package hint: nmap

nmap fails to build with OpenSSL 1.0.0 in Oneiric:

g++ -c -I/usr/include/lua5.1 -Ilibdnet-stripped/include -Inbase -Insock/include -O2 -Wall -D_GNU_SOURCE -Wall -fno-strict-aliasing -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"x86_64-unknown-linux-gnu\" -DNMAPDATADIR=\"/usr/share/nmap\" -D_FORTIFY_SOURCE=2 nse_openssl.cc -o nse_openssl.o
nse_openssl.cc:11:25: fatal error: openssl/md2.h: No such file or directory

OpenSSL no longer exports MD2 functions to applications "due to several cryptographic weaknesses"; nmap doesn't seem to use them for anything important as far as I can see, so we'll need to disable them there.

Related branches

Colin Watson (cjwatson)
Changed in nmap (Ubuntu):
importance: Undecided → High
tags: added: openssl-1.0.0-transition
Revision history for this message
Dave Walker (davewalker) wrote :

Forwarding patch to debian.

Changed in nmap (Ubuntu):
status: New → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package nmap - 5.21-1ubuntu1

---------------
nmap (5.21-1ubuntu1) oneiric; urgency=low

  * nse_openssl.cc: Remove MD2 support, as openssl no longer
    provides this interface. Fixes FTBFS. (LP: #785683)
 -- Dave Walker (Daviey) <email address hidden> Fri, 20 May 2011 13:52:38 +0100

Changed in nmap (Ubuntu):
status: In Progress → Fix Released
Changed in nmap (Debian):
status: Unknown → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.