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

Side by Side Diff: third_party/usrsctp/overrides/usrsctplib/netinet/sctp_nss_sha1.h

Issue 21968004: Updated usrsctp to fix various issues for windows (using changes pushed upstream) and unified SHA1 … (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixed indent Created 7 years, 4 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
OLDNEW
1 /*- 1 /*-
2 * Copyright (c) 2001-2007, by Cisco Systems, Inc. All rights reserved. 2 * Copyright (c) 2001-2007, by Cisco Systems, Inc. All rights reserved.
3 * Copyright (c) 2008-2012, by Randall Stewart. All rights reserved. 3 * Copyright (c) 2008-2012, by Randall Stewart. All rights reserved.
4 * Copyright (c) 2008-2012, by Michael Tuexen. All rights reserved. 4 * Copyright (c) 2008-2012, by Michael Tuexen. All rights reserved.
5 * 5 *
6 * Redistribution and use in source and binary forms, with or without 6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions are met: 7 * modification, are permitted provided that the following conditions are met:
8 * 8 *
9 * a) Redistributions of source code must retain the above copyright notice, 9 * a) Redistributions of source code must retain the above copyright notice,
10 * this list of conditions and the following disclaimer. 10 * this list of conditions and the following disclaimer.
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 struct PK11Context *pk11_ctx; 53 struct PK11Context *pk11_ctx;
54 }; // Opaque structure. 54 }; // Opaque structure.
55 55
56 typedef struct sha1_context SHA1_CTX; 56 typedef struct sha1_context SHA1_CTX;
57 57
58 #if defined(_KERNEL) || defined(__Userspace__) 58 #if defined(_KERNEL) || defined(__Userspace__)
59 #define SHA1_Init SCTP_NSS_SHA1_Init 59 #define SHA1_Init SCTP_NSS_SHA1_Init
60 #define SHA1_Update SCTP_NSS_SHA1_Update 60 #define SHA1_Update SCTP_NSS_SHA1_Update
61 #define SHA1_Final SCTP_NSS_SHA1_Final 61 #define SHA1_Final SCTP_NSS_SHA1_Final
62 62
63 #endif» » » » /* _KERNEL */ 63 #endif /* _KERNEL */
64 #endif 64 #endif /* __SCTP_NSS_SHA1_h__ */
OLDNEW
« no previous file with comments | « third_party/usrsctp/localchanges.patch ('k') | third_party/usrsctp/overrides/usrsctplib/netinet/sctp_nss_sha1.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698