Opened 19 years ago

Closed 17 years ago

Last modified 16 years ago

#8832 closed defect (fixed)

BUG: ssldump builds but doesn't work with openssl 0.9.8 (with workaround)

Reported by: etiffany@… Owned by: pguyot (Paul Guyot)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: pguyot (Paul Guyot)
Port:

Description

ssldump builds OK with the default darwinports version of openssl, but gives the following error when run:

% sudo ssldump ERROR: Couldn't create network handler

There must be some incompatibility in the openssl calls in the vicinity of line 137 of ssl/ssldecode.c (which is where the error seems to start).

However, ssldump seems to be compatible with 0.9.7 (DP provides 0.9.7g, and MacOSX comes with 0.9.7i). At least, I modified the portfile to use the openssl97 port, and ssldump doesn't crash any more.

So this workaround is represented in the attached diff for the portfile.

Attachments (2)

portdiff.txt (646 bytes) - added by etiffany@… 19 years ago.
diff of portfile changes
patch-ssl_ssldecode_c (669 bytes) - added by jasper@… 18 years ago.
new version of patch-ssl_ssldecode_c (based on patch in sourceforge)

Download all attachments as: .zip

Change History (10)

Changed 19 years ago by etiffany@…

Attachment: portdiff.txt added

diff of portfile changes

comment:1 Changed 18 years ago by rhwood@…

Try instead applying this patch to build/run against openssl 0.9.8:

http://sourceforge.net/tracker/index.php?func=detail&aid=1284378&group_id=68993&atid=523055

If this works for you, create a patch file to include with the ssldump port, and we will go from there.

comment:2 Changed 18 years ago by mww@…

Owner: changed from darwinports-bugs@… to pguyot@…
Summary: ssldump builds but doesn't work with openssl 0.9.8 (with workaround)BUG: ssldump builds but doesn't work with openssl 0.9.8 (with workaround)

seems to work for me (w/o any patches)

comment:3 Changed 18 years ago by pguyot (Paul Guyot)

Resolution: worksforme
Status: newclosed

I can't reproduce the problem with openssl 0.9.8_2.

comment:4 Changed 18 years ago by jasper@…

Resolution: worksforme
Status: closedreopened

Please apply this patch; without it, ssldump doesn't work. (I'm runnin 10.4.9 on intel)

Changed 18 years ago by jasper@…

Attachment: patch-ssl_ssldecode_c added

new version of patch-ssl_ssldecode_c (based on patch in sourceforge)

comment:5 Changed 17 years ago by markd@…

Cc: pguyot@… added

cc maintainer in case the reopen/newer patch wasn't seen.

comment:6 Changed 17 years ago by nox@…

Milestone: Port Bugs
Priority: ExpectedNormal
Version: 1.2

comment:7 Changed 17 years ago by pguyot (Paul Guyot)

Resolution: fixed
Status: reopenedclosed

Fixed in r36502.

comment:8 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.