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

Side by Side Diff: nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_httpdefaultclient.c

Issue 1155223003: Uprev NSS from 3.18.0 RTM to 3.19.0 RTM (Closed) Base URL: http://src.chromium.org/svn/trunk/deps/third_party/nss
Patch Set: *cough* Created 5 years, 7 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 | « nss/lib/freebl/mpi/mpmontg.c ('k') | nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_publickey.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* This Source Code Form is subject to the terms of the Mozilla Public 1 /* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this 2 * License, v. 2.0. If a copy of the MPL was not distributed with this
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
4 /* 4 /*
5 * pkix_pl_httpdefaultclient.c 5 * pkix_pl_httpdefaultclient.c
6 * 6 *
7 * HTTPDefaultClient Function Definitions 7 * HTTPDefaultClient Function Definitions
8 * 8 *
9 */ 9 */
10 10
(...skipping 1114 matching lines...) Expand 10 before | Expand all | Expand 10 after
1125 PKIX_RETURN(HTTPDEFAULTCLIENT); 1125 PKIX_RETURN(HTTPDEFAULTCLIENT);
1126 1126
1127 } 1127 }
1128 1128
1129 PKIX_Error * 1129 PKIX_Error *
1130 pkix_pl_HttpDefaultClient_KeepAliveSession( 1130 pkix_pl_HttpDefaultClient_KeepAliveSession(
1131 SEC_HTTP_SERVER_SESSION session, 1131 SEC_HTTP_SERVER_SESSION session,
1132 PRPollDesc **pPollDesc, 1132 PRPollDesc **pPollDesc,
1133 void *plContext) 1133 void *plContext)
1134 { 1134 {
1135 PKIX_PL_HttpDefaultClient *client = NULL;
1136
1137 PKIX_ENTER 1135 PKIX_ENTER
1138 (HTTPDEFAULTCLIENT, 1136 (HTTPDEFAULTCLIENT,
1139 "pkix_pl_HttpDefaultClient_KeepAliveSession"); 1137 "pkix_pl_HttpDefaultClient_KeepAliveSession");
1140 PKIX_NULLCHECK_TWO(session, pPollDesc); 1138 PKIX_NULLCHECK_TWO(session, pPollDesc);
1141 1139
1142 PKIX_CHECK(pkix_CheckType 1140 PKIX_CHECK(pkix_CheckType
1143 ((PKIX_PL_Object *)session, 1141 ((PKIX_PL_Object *)session,
1144 PKIX_HTTPDEFAULTCLIENT_TYPE, 1142 PKIX_HTTPDEFAULTCLIENT_TYPE,
1145 plContext), 1143 plContext),
1146 PKIX_SESSIONNOTANHTTPDEFAULTCLIENT); 1144 PKIX_SESSIONNOTANHTTPDEFAULTCLIENT);
1147 1145
1148 client = (PKIX_PL_HttpDefaultClient *)session;
1149
1150 /* XXX Not implemented */ 1146 /* XXX Not implemented */
1151 1147
1152 cleanup: 1148 cleanup:
1153 1149
1154 PKIX_RETURN(HTTPDEFAULTCLIENT); 1150 PKIX_RETURN(HTTPDEFAULTCLIENT);
1155 1151
1156 } 1152 }
1157 1153
1158 PKIX_Error * 1154 PKIX_Error *
1159 pkix_pl_HttpDefaultClient_RequestCreate( 1155 pkix_pl_HttpDefaultClient_RequestCreate(
(...skipping 493 matching lines...) Expand 10 before | Expand all | Expand 10 after
1653 { 1649 {
1654 PKIX_Error *err = 1650 PKIX_Error *err =
1655 PKIX_PL_Object_DecRef((PKIX_PL_Object *)(request), plContext); 1651 PKIX_PL_Object_DecRef((PKIX_PL_Object *)(request), plContext);
1656 1652
1657 if (err) { 1653 if (err) {
1658 PKIX_PL_Object_DecRef((PKIX_PL_Object *)err, plContext); 1654 PKIX_PL_Object_DecRef((PKIX_PL_Object *)err, plContext);
1659 return SECFailure; 1655 return SECFailure;
1660 } 1656 }
1661 return SECSuccess; 1657 return SECSuccess;
1662 } 1658 }
OLDNEW
« no previous file with comments | « nss/lib/freebl/mpi/mpmontg.c ('k') | nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_publickey.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698