LEFT | RIGHT |
1 #include "nspr.h" | 1 #include "nspr.h" |
2 #include "nss.h" | 2 #include "nss.h" |
3 #include "ssl.h" | 3 #include "ssl.h" |
4 | 4 |
5 #include <cstdlib> | 5 #include <cstdlib> |
6 | 6 |
7 #define GTEST_HAS_RTTI 0 | 7 #define GTEST_HAS_RTTI 0 |
8 #include "gtest/gtest.h" | 8 #include "gtest/gtest.h" |
9 | 9 |
10 int main(int argc, char **argv) { | 10 int main(int argc, char **argv) { |
11 // Start the tests | 11 // Start the tests |
12 ::testing::InitGoogleTest(&argc, argv); | 12 ::testing::InitGoogleTest(&argc, argv); |
13 | 13 |
14 NSS_NoDB_Init(NULL); | 14 NSS_NoDB_Init(nullptr); |
15 NSS_SetDomesticPolicy(); | 15 NSS_SetDomesticPolicy(); |
16 int rv = RUN_ALL_TESTS(); | 16 int rv = RUN_ALL_TESTS(); |
17 | 17 |
18 NSS_Shutdown(); | 18 NSS_Shutdown(); |
19 | 19 |
20 return rv; | 20 return rv; |
21 } | 21 } |
LEFT | RIGHT |