sodium_reinit() and sodium_shutdown() are gone.

This commit is contained in:
Frank Denis
2013-04-21 17:32:05 -07:00
parent 05f45575bb
commit fc98102f2a
4 changed files with 0 additions and 24 deletions
-9
View File
@@ -80,15 +80,6 @@ Before doing anything else with the library, call:
This function is not thread-safe. No other Sodium functions should be
called until it successfully returns.
And if you need to release memory and other resources possibly
allocated by the library, call:
sodium_shutdown();
After fork()ing, call:
sodium_reinit();
Sodium also provides helper functions to generate random numbers,
leveraging `/dev/urandom` or `/dev/random` on *nix and the cryptographic
service provider on Windows. The interface is similar to
-2
View File
@@ -3,7 +3,5 @@
#define __SODIUM_CORE_H__
int sodium_init(void);
int sodium_reinit(void);
void sodium_shutdown(void);
#endif
-12
View File
@@ -16,15 +16,3 @@ sodium_init(void)
}
return 0;
}
int
sodium_reinit(void)
{
return 0;
}
void
sodium_shutdown(void)
{
}
-1
View File
@@ -25,7 +25,6 @@ int main(void)
return 99;
}
xmain();
sodium_shutdown();
rewind(fp_res);
if ((fp_out = fopen(TEST_NAME_OUT, "r")) == NULL) {
perror("fopen(" TEST_NAME_OUT ")");