ecere/net/HTTPFile; extras: Added https support; Promoted SSLSocket to ecere
[sdk] / 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)
 #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;