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

Unified Diff: nss/lib/freebl/ecl/ecp_aff.c

Issue 1843333003: Update NSPR to 4.12 and NSS to 3.23 on iOS (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/nss.git@master
Patch Set: Created 4 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: nss/lib/freebl/ecl/ecp_aff.c
diff --git a/nss/lib/freebl/ecl/ecp_aff.c b/nss/lib/freebl/ecl/ecp_aff.c
index 92e860448ae50a358caf15f25d0c22bd38f31e88..41381073be055e301f9d2efd341b4e74655005d2 100644
--- a/nss/lib/freebl/ecl/ecp_aff.c
+++ b/nss/lib/freebl/ecl/ecp_aff.c
@@ -280,8 +280,8 @@ ec_GFp_validate_point(const mp_int *px, const mp_int *py, const ECGroup *group)
group->meth->field_enc(px, &pxt, group->meth);
group->meth->field_enc(py, &pyt, group->meth);
} else {
- mp_copy(px, &pxt);
- mp_copy(py, &pyt);
+ MP_CHECKOK( mp_copy(px, &pxt) );
+ MP_CHECKOK( mp_copy(py, &pyt) );
}
/* left-hand side: y^2 */
MP_CHECKOK( group->meth->field_sqr(&pyt, &accl, group->meth) );
« no previous file with comments | « nss/lib/freebl/ecl/ecp_256_32.c ('k') | nss/lib/freebl/mpi/mpi.c » ('j') | nss/lib/util/secoid.c » ('J')

Powered by Google App Engine
This is Rietveld 408576698