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

Side by Side Diff: openssl/crypto/rsa/rsa_test.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/rsa/rsa_sign.c ('k') | openssl/crypto/rsa/rsa_x931g.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 /* test vectors from p1ovect1.txt */ 1 /* test vectors from p1ovect1.txt */
2 2
3 #include <stdio.h> 3 #include <stdio.h>
4 #include <string.h> 4 #include <string.h>
5 5
6 #include "e_os.h" 6 #include "e_os.h"
7 7
8 #include <openssl/crypto.h> 8 #include <openssl/crypto.h>
9 #include <openssl/err.h> 9 #include <openssl/err.h>
10 #include <openssl/rand.h> 10 #include <openssl/rand.h>
(...skipping 310 matching lines...) Expand 10 before | Expand all | Expand 10 after
321 printf("Corrupt data decrypted!\n"); 321 printf("Corrupt data decrypted!\n");
322 err = 1; 322 err = 1;
323 } 323 }
324 } 324 }
325 } 325 }
326 next: 326 next:
327 RSA_free(key); 327 RSA_free(key);
328 } 328 }
329 329
330 CRYPTO_cleanup_all_ex_data(); 330 CRYPTO_cleanup_all_ex_data();
331 ERR_remove_state(0); 331 ERR_remove_thread_state(NULL);
332 332
333 CRYPTO_mem_leaks_fp(stderr); 333 CRYPTO_mem_leaks_fp(stderr);
334 334
335 #ifdef OPENSSL_SYS_NETWARE 335 #ifdef OPENSSL_SYS_NETWARE
336 if (err) printf("ERROR: %d\n", err); 336 if (err) printf("ERROR: %d\n", err);
337 #endif 337 #endif
338 return err; 338 return err;
339 } 339 }
340 #endif 340 #endif
OLDNEW
« no previous file with comments | « openssl/crypto/rsa/rsa_sign.c ('k') | openssl/crypto/rsa/rsa_x931g.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698