projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Client side version negotiation rewrite
[openssl.git]
/
demos
/
ssl
/
cli.cpp
diff --git
a/demos/ssl/cli.cpp
b/demos/ssl/cli.cpp
index cb5d329ea42da8f55a5c1cbedaa36ca745c71fd7..3459f0f93ac1010b0419b2a02f2170b29fb2d297 100644
(file)
--- a/
demos/ssl/cli.cpp
+++ b/
demos/ssl/cli.cpp
@@
-38,7
+38,7
@@
void main ()
SSL_METHOD *meth;
SSLeay_add_ssl_algorithms();
- meth =
SSLv23
_client_method();
+ meth =
TLS
_client_method();
SSL_load_error_strings();
ctx = SSL_CTX_new (meth); CHK_NULL(ctx);