projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Server side version negotiation rewrite
[openssl.git]
/
demos
/
ssl
/
serv.cpp
diff --git
a/demos/ssl/serv.cpp
b/demos/ssl/serv.cpp
index 6d4cefd5d02424ba159522c22d42fe6b3a05dc5d..9cb77f8275fbf9932ee3e9524a3ef1fb6ccd33c4 100644
(file)
--- a/
demos/ssl/serv.cpp
+++ b/
demos/ssl/serv.cpp
@@
-55,7
+55,7
@@
void main ()
SSL_load_error_strings();
SSLeay_add_ssl_algorithms();
- meth =
SSLv23
_server_method();
+ meth =
TLS
_server_method();
ctx = SSL_CTX_new (meth);
if (!ctx) {
ERR_print_errors_fp(stderr);