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

Side by Side Diff: third_party/minicrt/security.cc

Issue 624713003: Keep only base/extractor.[cc|h]. (Closed) Base URL: https://chromium.googlesource.com/external/omaha.git@master
Patch Set: Created 6 years, 2 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
« no previous file with comments | « third_party/minicrt/resetstk.c ('k') | third_party/minicrt/sehprolg.obj » ('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 #include "libctiny.h"
2 #include <windows.h>
3
4 extern "C" {
5
6 #ifdef _WIN64
7 #define kDefaultSecurityCookie 0x2B992DDFA23249D6
8 #else /* _WIN64 */
9 #define kDefaultSecurityCookie 0xBB40E64E
10 #endif /* _WIN64 */
11
12 DWORD_PTR __security_cookie = kDefaultSecurityCookie;
13
14 void __fastcall __security_check_cookie(DWORD_PTR) {
15 return;
16
17 /* Immediately return if the local cookie is OK. */
18 // if (cookie == __security_cookie)
19 // return;
20
21 /* Report the failure */
22 // report_failure();
23 }
24
25 }; // extern "C"
OLDNEW
« no previous file with comments | « third_party/minicrt/resetstk.c ('k') | third_party/minicrt/sehprolg.obj » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698