Ticket #1566 (new bug) — at Version 2

Opened 12 years ago

Last modified 12 years ago

md2 should not be used anymore

Reported by: jquelin Owned by:
Priority: normal Milestone:
Component: none Version: 2.2.0
Severity: medium Keywords:
Cc: Language:
Patch status: Platform: linux

Description (last modified by jquelin) (diff)

md2 is considered insecure by openssl upstream, and was already removed from algorithmic tables starting with 0.9.8m. Only API was maintained, but starting with openssl 1.0.0, not even its API is compiled by default anymore.

You can check by yourself, starting with openssl 0.9.8m 'openssl md2' returns the same result as 'openssl md5' - MD2 is not there anymore.

mandriva is shipping openssl does not provide md2 api anymore. so i get the following error when compiling parrot 2.3.0 (not 2.2.0, but version 2.3.0 is not available in trac):

$ make
[...]
./md2.pmc:27:25: error: openssl/md2.h: No such file or directory
./md2.pmc: In function 'Parrot_MD2_clone':
./md2.pmc:79: error: 'MD2_CTX' undeclared (first use in this function)
./md2.pmc:79: error: (Each undeclared identifier is reported only once
./md2.pmc:79: error: for each function it appears in.)
./md2.pmc:79: error: 'c' undeclared (first use in this function)
./md2.pmc:79: error: expected expression before ')' token
./md2.pmc: In function 'Parrot_MD2_destroy':
./md2.pmc:61: error: 'MD2_CTX' undeclared (first use in this function)
./md2.pmc:61: error: 'c' undeclared (first use in this function)
./md2.pmc:61: error: expected expression before ')' token
./md2.pmc: In function 'Parrot_MD2_init':
./md2.pmc:43: error: 'MD2_CTX' undeclared (first use in this function)
./md2.pmc:43: error: 'c' undeclared (first use in this function)
./md2.pmc:43: error: expected expression before ')' token
./md2.pmc: In function 'Parrot_MD2_nci_Init':
./md2.pmc:107: error: 'MD2_CTX' undeclared (first use in this function)
./md2.pmc:107: error: 'c' undeclared (first use in this function)
./md2.pmc:107: error: expected expression before ')' token
./md2.pmc:108: warning: implicit declaration of function 'MD2_Init'
./md2.pmc:108: warning: nested extern declaration of 'MD2_Init'
./md2.pmc: In function 'Parrot_MD2_nci_Update':
./md2.pmc:121: error: 'MD2_CTX' undeclared (first use in this function)
./md2.pmc:121: error: 'c' undeclared (first use in this function)
./md2.pmc:121: error: expected expression before ')' token
./md2.pmc:122: warning: implicit declaration of function 'MD2_Update'
./md2.pmc:122: warning: nested extern declaration of 'MD2_Update'
./md2.pmc: In function 'Parrot_MD2_nci_Final':
./md2.pmc:135: error: 'MD2_DIGEST_LENGTH' undeclared (first use in this function)
./md2.pmc:136: error: 'MD2_CTX' undeclared (first use in this function)
./md2.pmc:136: error: 'c' undeclared (first use in this function)
./md2.pmc:136: error: expected expression before ')' token
./md2.pmc:137: error: ISO C90 forbids mixed declarations and code
./md2.pmc:139: warning: implicit declaration of function 'MD2_Final'
./md2.pmc:139: warning: nested extern declaration of 'MD2_Final'
gmake[1]: *** [md2.o] Error 1

Change History

Changed 12 years ago by jquelin

  • description modified (diff)

Changed 12 years ago by jquelin

  • description modified (diff)
Note: See TracTickets for help on using tickets.