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
/
bio
/
sconnect.c
diff --git
a/demos/bio/sconnect.c
b/demos/bio/sconnect.c
index 6e4ca6596b6f069d36fcc21f27ec6048cf570246..865d50395692998918b5353649f7b6714e0c4d40 100644
(file)
--- a/
demos/bio/sconnect.c
+++ b/
demos/bio/sconnect.c
@@
-43,7
+43,7
@@
char *argv[];
/* Setup all the global SSL stuff */
OpenSSL_add_ssl_algorithms();
- ssl_ctx = SSL_CTX_new(
SSLv23
_client_method());
+ ssl_ctx = SSL_CTX_new(
TLS
_client_method());
/* Lets make a SSL structure */
ssl = SSL_new(ssl_ctx);