Pieter Hintjens <p...@imatix.com> writes:

> Sounds like you've identified a problem. There are two classes that
> use libsodium; best would be to call sodium_init() in either of these,
> the first time they're used, under control of a mutex to prevent
> races.
>
> Do you want to try making this change and sending us a pull request?


Hi,

done and thanks for merging!

Would you prefer moving the tweetnacl files being moved into
libzmq/foreign/ or is the current location ok?

I think most changes will come to the contrib/randombytes.cpp (if any
come at all) introducing random providers for other platforms.

kind regards
  Frank
_______________________________________________
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to