projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rename SSLeay_add_all_algorithms() et al to
[openssl.git]
/
demos
/
bio
/
sconnect.c
diff --git
a/demos/bio/sconnect.c
b/demos/bio/sconnect.c
index 8fb6302b9459bc37247d39a2bf6506f24b89e112..87b380b258cb8f5b0c3574ec5aa07ac37a3fde0b 100644
(file)
--- a/
demos/bio/sconnect.c
+++ b/
demos/bio/sconnect.c
@@
-9,6
+9,7
@@
*/
#include <stdio.h>
#include <stdlib.h>
*/
#include <stdio.h>
#include <stdlib.h>
+#include <unistd.h>
#include <openssl/err.h>
#include <openssl/ssl.h>
#include <openssl/err.h>
#include <openssl/ssl.h>
@@
-35,7
+36,7
@@
char *argv[];
SSL_load_error_strings();
/* Setup all the global SSL stuff */
SSL_load_error_strings();
/* Setup all the global SSL stuff */
-
SSLeay
_add_ssl_algorithms();
+
OpenSSL
_add_ssl_algorithms();
ssl_ctx=SSL_CTX_new(SSLv23_client_method());
/* Lets make a SSL structure */
ssl_ctx=SSL_CTX_new(SSLv23_client_method());
/* Lets make a SSL structure */