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

Unified Diff: openssl/crypto/bn/bn_exp2.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « openssl/crypto/bn/bn_div.c ('k') | openssl/crypto/bn/bn_gf2m.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: openssl/crypto/bn/bn_exp2.c
===================================================================
--- openssl/crypto/bn/bn_exp2.c (revision 105093)
+++ openssl/crypto/bn/bn_exp2.c (working copy)
@@ -301,7 +301,8 @@
r_is_one = 0;
}
}
- BN_from_montgomery(rr,r,mont,ctx);
+ if (!BN_from_montgomery(rr,r,mont,ctx))
+ goto err;
ret=1;
err:
if ((in_mont == NULL) && (mont != NULL)) BN_MONT_CTX_free(mont);
« no previous file with comments | « openssl/crypto/bn/bn_div.c ('k') | openssl/crypto/bn/bn_gf2m.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698