Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 674418 - net-analyzer/libnasl-2.2.9-r1 : nasl_crypto.c:55:10: error: MD2_DIGEST_LENGTH undeclared (first use in this function)
Summary: net-analyzer/libnasl-2.2.9-r1 : nasl_crypto.c:55:10: error: MD2_DIGEST_LENGTH...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Deadline: 2019-04-15
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords: PMASKED
Depends on:
Blocks: openssl-1.1
  Show dependency tree
 
Reported: 2019-01-03 16:52 UTC by Toralf Förster
Modified: 2019-07-13 07:17 UTC (History)
3 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.59 KB, text/plain)
2019-01-03 16:52 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,234.06 KB, text/plain)
2019-01-03 16:52 UTC, Toralf Förster
Details
environment (environment,74.41 KB, text/plain)
2019-01-03 16:52 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,14.72 KB, application/x-bzip)
2019-01-03 16:52 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,5.84 KB, application/x-bzip)
2019-01-03 16:52 UTC, Toralf Förster
Details
net-analyzer:libnasl-2.2.9-r1:20190103-015835.log (net-analyzer:libnasl-2.2.9-r1:20190103-015835.log,13.80 KB, text/plain)
2019-01-03 16:52 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,21.03 KB, application/x-bzip)
2019-01-03 16:52 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2019-01-03 16:52:21 UTC
/bin/sh /var/tmp/portage/net-analyzer/libnasl-2.2.9-r1/work/libnasl/libtool --silent x86_64-pc-linux-gnu-gcc -pipe -O2 -pipe -march=native  `sh ./cflags`  -c nasl_crypto.c
nasl_crypto.c: In function 'nasl_md2':
nasl_crypto.c:55:10: error: 'MD2_DIGEST_LENGTH' undeclared (first use in this function); did you mean 'MD5_DIGEST_LENGTH'?
  char md[MD2_DIGEST_LENGTH+1];
          ^~~~~~~~~~~~~~~~~
          MD5_DIGEST_LENGTH

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-systemd_test_20181228-124659

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.1
 [2] x86_64-pc-linux-gnu-8.2.0 *

Available Python interpreters, in order of preference:
  [1]   python3.7
  [2]   python3.6
  [3]   python2.7 (fallback)

Available Rust versions:
  [1]   rust-1.31.1 *



emerge -qpvO net-analyzer/libnasl
[ebuild  N    ] net-analyzer/libnasl-2.2.9-r1  USE="-static-libs"
Comment 1 Toralf Förster gentoo-dev 2019-01-03 16:52:24 UTC
Created attachment 559608 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2019-01-03 16:52:34 UTC
Created attachment 559610 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2019-01-03 16:52:37 UTC
Created attachment 559612 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2019-01-03 16:52:39 UTC
Created attachment 559614 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2019-01-03 16:52:42 UTC
Created attachment 559616 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2019-01-03 16:52:45 UTC
Created attachment 559618 [details]
net-analyzer:libnasl-2.2.9-r1:20190103-015835.log
Comment 7 Toralf Förster gentoo-dev 2019-01-03 16:52:49 UTC
Created attachment 559620 [details]
temp.tbz2
Comment 8 coKe 2019-01-27 10:23:56 UTC
Same issue here..
Comment 9 coKe 2019-01-27 11:15:02 UTC
It seems that MD2_DIGEST_LENGTH is not defined in the openSSL version I have...Im currently using 1.1.0j but it's defined in 1.0.1c... it should have been set to 16 in md2.h but it isn't.
Comment 10 coKe 2019-01-27 11:26:06 UTC
(In reply to coKe from comment #9)
> It seems that MD2_DIGEST_LENGTH is not defined in the openSSL version I
> have...Im currently using 1.1.0j but it's defined in 1.0.1c... it should
> have been set to 16 in md2.h but it isn't.

Well, it's defined after all. Sorry
Comment 11 Hans de Graaff gentoo-dev Security 2019-07-13 07:17:49 UTC
commit 3e7bbcd42631e7c460f16a182eecabcb4f780e45
Author: Mikle Kolyada <zlogene@gentoo.org>
Date:   Mon Apr 15 11:00:19 2019 +0300

    net-analyzer: remove lastrited nessus and co.
    
    Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>