tong / hxssl

Haxe→C++/Neko OpenSSL bindings
30 stars 45 forks source link

Haxe 3 status? #12

Closed cambiata closed 10 years ago

cambiata commented 11 years ago

What's the status of H3 hxssl?

tong commented 11 years ago

so far no status :) it should be easily doable, just some renames in haxe source, i think. i am not sure if i have time to look into this soon, but i accept patches ;-)

cambiata commented 11 years ago

Ok. But also, the tls.ndll has to be compiled for Neko 2, doesn't it? https://groups.google.com/forum/?hl=en#!topic/haxelang/otUeHXVzokE

tong commented 11 years ago

i haven't built the windows ndll, but just pinged david elahee who is also the owner of the haxelib

cambiata commented 11 years ago

Great! Thank you!

tong commented 11 years ago

he told me to try next week

delahee commented 11 years ago

Hi, I commited a neko 2 tentative version. Can you test whether it works. There is also a non C-pure fun _SSL_CTX_load_verify_locations with some const char* declared later in the func body, you might have to merge this one.

Keep me up if the build proves successful.

Ciao,David.

2013/3/1 tong notifications@github.com

he told me to try next week

— Reply to this email directly or view it on GitHubhttps://github.com/tong/hxssl/issues/12#issuecomment-14289233 .

David Elahee

cambiata commented 11 years ago

Thank you, David! I will have a look asap, but probably not until wensday... :-(

delahee commented 11 years ago

Got it... MAY BE I AM A DUMMY BUT... I suspect that nme team has an older neko... the neko_k_int32 doesn't come from neko2 but its a change from neko 1.8.1 to 1.8.2 thus a much older problem... I have a hard time figuring how it come to annoy us now but I expect the new ndll version to change nothing. I fact its the various .n that should be upgraded to neko 1.8.2 / neko 2.0.

Yeah i kno it is no good news and i hope i m wrong...

delahee commented 11 years ago

AH AH ( sardonical laugh of madness...) ok it works ( haxelib run nme setup works at last)... So I added several primitives around the load certificate folder business and overwrote NME's tls.ndll version and it seem to work...

Hope it helps !

tong commented 11 years ago

Current version should work for haxe3. We can close this issue If mac and win users confirm (and ndlls got added) Anyone?

cambiata commented 11 years ago

I would like to try, but I don't have a clue how to compile the .ndll for windows... :-(

delahee commented 11 years ago

I ll give a try next week. Fyi building with windows need visual studio express and an openssl bin distro. :)

C yall ! Le 30 juin 2013 19:21, "Jonas Nyström" notifications@github.com a écrit :

I would like to try, but I don't have a clue how to compile the .ndll for windows... :-(

— Reply to this email directly or view it on GitHubhttps://github.com/tong/hxssl/issues/12#issuecomment-20250802 .

alijaya commented 11 years ago

excuse me, how to make in windows? ._., do you have any tutorials?

delahee commented 11 years ago

Ok issue is resolved, build process is now based on hxcpp, building for windows required adding os libraries, removing some socket code via #define and locally integrate openssl libs in the hxcpp build process. Good Luck.

alijaya commented 11 years ago

wogh... it's works like a charm XD... thanks :D

lalop commented 11 years ago

The library doesn't work on mac, after installed via haxelib I get : Uncaught exception - load.c(237) : Failed to load library : hxssl.ndll (dlopen(hxssl.ndll, 1): image not found)

lalop commented 11 years ago

In fact that works but I had to move hxssl.ndll by hand to /usr/bin

hexonaut commented 10 years ago

hxssl runs on Haxe 3, so I'm guessing this can be closed...