Ecere Software
/
sdk
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ecere/net/HTTPFile; extras: Added https support; Promoted SSLSocket to ecere
[sdk]
/
ecere
/
src
/
net
/
SSLSocket.ec
diff --git
a/extras/SSLSocket.ec
b/ecere/src/net/SSLSocket.ec
similarity index 96%
rename from
extras/SSLSocket.ec
rename to
ecere/src/net/SSLSocket.ec
index
1fab2e2
..
3efc867
100644
(file)
--- a/
extras/SSLSocket.ec
+++ b/
ecere/src/net/SSLSocket.ec
@@
-11,7
+11,11
@@
#undef uint
#undef set
-import "ecere"
+#ifdef BUILDING_ECERE_COM
+import "Socket"
+#else
+public import "ecere"
+#endif
/*
static char * pass = "password";
@@
-24,7
+28,7
@@
static int password_cb(char *buf) //,int num, int rwflag,void *userdata)
}
*/
-class SSLSocket : Socket
+
public
class SSLSocket : Socket
{
SSL_CTX *ctx;
SSL *ssl;