mirleft / libnqsb-tls

OCaml-TLS exposed to C
MIT License
23 stars 2 forks source link

There is some question of making the project. #6

Open jnchzy opened 6 years ago

jnchzy commented 6 years ago

When the program is compiled in the libnqsb-tls directory, some errors are shown in the following figure: 1

I need your help how to deal with it,thank you very much! My operation system is ubuntu 14.04. Do I need to make the program under the OpenBSD system?

hannesm commented 6 years ago

dear @jnchzy, thanks for your report. to me, it looks like libnqsb-tls has been developed with tls.0.8.0 (or earlier), whereas you are using 0.9.0 -- one major change being that passing timestamps now uses Ptime.t instead of a float. I'm sorry I don't have sufficient time to look into this in more detail right now.

abbysmal commented 6 years ago

Will give it a look in a second

abbysmal commented 6 years ago

Hi @jnchzy, thank you very much for your interest in the project! Indeed Hannes was right about the changes made to tls. I have pushed some fixes in this branch: https://github.com/mirleft/libnqsb-tls/tree/update-tls-and-cleanup You should be able to get it working with this. I confirm the basic client and server examples provided in the test directory should work with libtls version 2.4.5, but in case of any issue I would be glad to hear about it and try to help you with it.