Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(6)

Issue 296001: Wean Mac Breakpad off of its OpenSSL libcrypto dependency (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years, 4 months ago by Mark Mentovai
Modified:
13 years, 4 months ago
Reviewers:
Ted Mielczarek
CC:
google-breakpad-dev_googlegroups.com
Base URL:
http://google-breakpad.googlecode.com/svn/trunk/
Visibility:
Public.

Description

Wean Mac Breakpad off of its OpenSSL libcrypto dependency.

This libcrypto dependency sucks. Linking against OpenSSL is sort of broken in
certain Mac OS X SDKs. libcrypto was only being used to provide an MD5
implementation. Breakpad already has its own MD5 implementation, so just use
that instead.

To be perfectly honest, on modern systems, nothing should be making MD5
hashes of modules anyway, because everything has an embedded LC_UUID.

The project file changes just remove libcrypto and add md5.c as needed.

A bonus (and untested) fix for on_demand_symbol_supplier.mm is included to
account for changes in r794.

r819

Patch Set 1 #

Patch Set 2 : '' #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats Patch
M src/client/mac/Breakpad.xcodeproj/project.pbxproj View 18 chunks +12 lines, -12 lines 0 comments Download
M src/common/mac/file_id.cc View 1 chunk +4 lines, -4 lines 0 comments Download
M src/common/mac/macho_id.cc View 4 chunks +6 lines, -30 lines 0 comments Download
M src/common/mac/macho_id.h View 4 chunks +4 lines, -15 lines 0 comments Download
M src/tools/mac/crash_report/crash_report.xcodeproj/project.pbxproj View 9 chunks +11 lines, -4 lines 0 comments Download
M src/tools/mac/crash_report/on_demand_symbol_supplier.mm View 1 1 chunk +3 lines, -8 lines 1 comment Download
M src/tools/mac/dump_syms/dump_syms.xcodeproj/project.pbxproj View 7 chunks +11 lines, -4 lines 0 comments Download

Messages

Total messages: 5
Mark Mentovai
13 years, 4 months ago #1
Ted Mielczarek
You know, we've actually had part of this patch downstream in Mozilla for a while, ...
13 years, 4 months ago #2
Ted Mielczarek
LGTM http://breakpad.appspot.com/296001/diff/3001/14 File src/tools/mac/crash_report/on_demand_symbol_supplier.mm (right): http://breakpad.appspot.com/296001/diff/3001/14#newcode296 Line 296: dump.WriteSymbolFile(file); Oops, sorry I missed that in ...
13 years, 4 months ago #3
Mark Mentovai
ted.mielczarek@gmail.com wrote: > You know, we've actually had part of this patch downstream in Mozilla ...
13 years, 4 months ago #4
Ted Mielczarek
13 years, 4 months ago #5
Interesting. I'm pretty sure we're linking against the 10.5 SDK building our
i386 builds on 10.6, but maybe we're doing something wrong. Either way, this is
the right thing to do.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld 1004:630ec63f810e-tainted