Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(227)

Side by Side Diff: openssl/ms/uplink-common.pl

Issue 9254031: Upgrade chrome's OpenSSL to same version Android ships with. (Closed) Base URL: http://src.chromium.org/svn/trunk/deps/third_party/openssl/
Patch Set: '' Created 8 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « openssl/ms/uplink.c ('k') | openssl/ms/uplink-ia64.pl » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 #!/usr/bin/env perl
2 #
3 # pull APPLINK_MAX value from applink.c...
4 $applink_c=$0;
5 $applink_c=~s|[^/\\]+$||g;
6 $applink_c.="applink.c";
7 open(INPUT,$applink_c) || die "can't open $applink_c: $!";
8 @max=grep {/APPLINK_MAX\s+(\d+)/} <INPUT>;
9 close(INPUT);
10 ($#max==0) or die "can't find APPLINK_MAX in $applink_c";
11
12 $max[0]=~/APPLINK_MAX\s+(\d+)/;
13 $N=$1; # number of entries in OPENSSL_UplinkTable not including
14 # OPENSSL_UplinkTable[0], which contains this value...
15
16 1;
17
18 # Idea is to fill the OPENSSL_UplinkTable with pointers to stubs
19 # which invoke 'void OPENSSL_Uplink (ULONG_PTR *table,int index)';
20 # and then dereference themselves. Latter shall result in endless
21 # loop *unless* OPENSSL_Uplink does not replace 'table[index]' with
22 # something else, e.g. as 'table[index]=unimplemented;'...
OLDNEW
« no previous file with comments | « openssl/ms/uplink.c ('k') | openssl/ms/uplink-ia64.pl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698