projects
/
dockapps
/
wmnotify.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added SSLv3 and TLSv1 methods in addition to SSLv2
[dockapps/wmnotify.git]
/
src
/
ssl.c
diff --git
a/src/ssl.c
b/src/ssl.c
index
76aa32d
..
46827f7
100644
(file)
--- a/
src/ssl.c
+++ b/
src/ssl.c
@@
-53,7
+53,7
@@
InitCTX( void )
\r
SSL_library_init(); /* Load cryptos, et.al. */
\r
SSL_load_error_strings(); /* Bring in and register error messages */
\r
\r
SSL_library_init(); /* Load cryptos, et.al. */
\r
SSL_load_error_strings(); /* Bring in and register error messages */
\r
- method = SSLv2
_client_method(); /* Create new client-method instance
*/
\r
+ method = SSLv2
3_client_method(); /* Indicate we support SSLv2, SSLv3 and TLSv1 methods.
*/
\r
ctx = SSL_CTX_new(method); /* Create new context */
\r
if( ctx == NULL ) {
\r
ERR_print_errors_fp(stderr);
\r
ctx = SSL_CTX_new(method); /* Create new context */
\r
if( ctx == NULL ) {
\r
ERR_print_errors_fp(stderr);
\r