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

Side by Side Diff: openssl/ssl/t1_clnt.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/ssl/ssltest.c ('k') | openssl/ssl/t1_enc.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 /* ssl/t1_clnt.c */ 1 /* ssl/t1_clnt.c */
2 /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2 /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
5 * This package is an SSL implementation written 5 * This package is an SSL implementation written
6 * by Eric Young (eay@cryptsoft.com). 6 * by Eric Young (eay@cryptsoft.com).
7 * The implementation was written so as to conform with Netscapes SSL. 7 * The implementation was written so as to conform with Netscapes SSL.
8 * 8 *
9 * This library is free for commercial and non-commercial use as long as 9 * This library is free for commercial and non-commercial use as long as
10 * the following conditions are aheared to. The following conditions 10 * the following conditions are aheared to. The following conditions
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 * [including the GNU Public Licence.] 56 * [including the GNU Public Licence.]
57 */ 57 */
58 58
59 #include <stdio.h> 59 #include <stdio.h>
60 #include "ssl_locl.h" 60 #include "ssl_locl.h"
61 #include <openssl/buffer.h> 61 #include <openssl/buffer.h>
62 #include <openssl/rand.h> 62 #include <openssl/rand.h>
63 #include <openssl/objects.h> 63 #include <openssl/objects.h>
64 #include <openssl/evp.h> 64 #include <openssl/evp.h>
65 65
66 static SSL_METHOD *tls1_get_client_method(int ver); 66 static const SSL_METHOD *tls1_get_client_method(int ver);
67 static SSL_METHOD *tls1_get_client_method(int ver) 67 static const SSL_METHOD *tls1_get_client_method(int ver)
68 { 68 {
69 if (ver == TLS1_VERSION) 69 if (ver == TLS1_VERSION)
70 return(TLSv1_client_method()); 70 return(TLSv1_client_method());
71 else 71 else
72 return(NULL); 72 return(NULL);
73 } 73 }
74 74
75 IMPLEMENT_tls1_meth_func(TLSv1_client_method, 75 IMPLEMENT_tls1_meth_func(TLSv1_client_method,
76 ssl_undefined_function, 76 ssl_undefined_function,
77 ssl3_connect, 77 ssl3_connect,
78 tls1_get_client_method) 78 tls1_get_client_method)
79 79
OLDNEW
« no previous file with comments | « openssl/ssl/ssltest.c ('k') | openssl/ssl/t1_enc.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698