diff options
author | Sverker Eriksson <[email protected]> | 2018-05-17 19:29:45 +0200 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2018-05-17 19:29:45 +0200 |
commit | 93b48f41103a7491ae1c6955ff5ceb5ee15ee666 (patch) | |
tree | 00f8ba084b3c10a9dc520b3b4e91c79907f37ee1 /prebuild.delete | |
parent | 4b8a81dd49fbeda8f2da118d43f3690a61f2283a (diff) | |
download | otp-93b48f41103a7491ae1c6955ff5ceb5ee15ee666.tar.gz otp-93b48f41103a7491ae1c6955ff5ceb5ee15ee666.tar.bz2 otp-93b48f41103a7491ae1c6955ff5ceb5ee15ee666.zip |
crypto: Robustify the do-once-initialization
Introduce boolean 'library_initialized' that is set once
and never cleared as that is how initialization must be done.
Kept 'library_refc' as it may be interesting for debugging.
Moved the three init_*_types() functions last as those must
only be called once and there were error cases bailing out after them.
Diffstat (limited to 'prebuild.delete')
0 files changed, 0 insertions, 0 deletions