vendor/libsodium/examples/utils.h in rbnacl-libsodium-1.0.6 vs vendor/libsodium/examples/utils.h in rbnacl-libsodium-1.0.7

- old
+ new

@@ -97,10 +97,12 @@ } static void init(void) { - sodium_init(); + if (sodium_init() != 0) { + abort(); + } printf("Using libsodium %s\n", sodium_version_string()); } #endif /* UTILS_H */