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

Side by Side Diff: openssl/crypto/sha/sha1dgst.c

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/crypto/sha/sha1_one.c ('k') | openssl/crypto/sha/sha1s.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* crypto/sha/sha1dgst.c */ 1 /* crypto/sha/sha1dgst.c */
2 /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2 /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
5 * This package is an SSL implementation written 5 * This package is an SSL implementation written
6 * by Eric Young (eay@cryptsoft.com). 6 * by Eric Young (eay@cryptsoft.com).
7 * The implementation was written so as to conform with Netscapes SSL. 7 * The implementation was written so as to conform with Netscapes SSL.
8 * 8 *
9 * This library is free for commercial and non-commercial use as long as 9 * This library is free for commercial and non-commercial use as long as
10 * the following conditions are aheared to. The following conditions 10 * the following conditions are aheared to. The following conditions
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 * [including the GNU Public Licence.] 56 * [including the GNU Public Licence.]
57 */ 57 */
58 58
59 #include <openssl/opensslconf.h> 59 #include <openssl/opensslconf.h>
60 #if !defined(OPENSSL_NO_SHA1) && !defined(OPENSSL_NO_SHA) 60 #if !defined(OPENSSL_NO_SHA1) && !defined(OPENSSL_NO_SHA)
61 61
62 #undef SHA_0 62 #undef SHA_0
63 #define SHA_1 63 #define SHA_1
64 64
65 #include <openssl/opensslv.h> 65 #include <openssl/opensslv.h>
66 #ifdef OPENSSL_FIPS
67 #include <openssl/fips.h>
68 #endif
69
70 66
71 const char SHA1_version[]="SHA1" OPENSSL_VERSION_PTEXT; 67 const char SHA1_version[]="SHA1" OPENSSL_VERSION_PTEXT;
72 68
73 /* The implementation is in ../md32_common.h */ 69 /* The implementation is in ../md32_common.h */
74 70
75 #include "sha_locl.h" 71 #include "sha_locl.h"
76 72
77 #endif 73 #endif
78 74
OLDNEW
« no previous file with comments | « openssl/crypto/sha/sha1_one.c ('k') | openssl/crypto/sha/sha1s.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698