Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2022-04-15 00:38:10

0001 #include "Utilities/OpenSSL/interface/openssl_init.h"
0002 #include <mutex>
0003 
0004 namespace cms {
0005   void openssl_init() {
0006     static std::once_flag flag;
0007     std::call_once(flag, []() {
0008 #if OPENSSL_API_COMPAT < 0x10100000L
0009       OpenSSL_add_all_digests();
0010 #else
0011       OPENSSL_init_crypto();
0012 #endif
0013     });
0014   }
0015 }  // namespace cms