]> git.meshlink.io Git - meshlink/commit
Call srand() and crypto_init() from a constructor.
authorGuus Sliepen <guus@meshlink.io>
Sun, 13 Apr 2014 11:14:38 +0000 (13:14 +0200)
committerGuus Sliepen <guus@meshlink.io>
Sun, 13 Apr 2014 11:14:38 +0000 (13:14 +0200)
commit536701ed140f716713b4ebeb3f8273fc3b676869
tree6f44fce23b037dad83c042581ee9afc9983d11b9
parent2956559f7d12caa9779207525419801e0e9ab3e3
Call srand() and crypto_init() from a constructor.

This ensures these routines are always called when the library is loaded.
src/libmeshlink.c