Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/boringssl.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/digest/digest_test.cc')
-rw-r--r--crypto/digest/digest_test.cc10
1 files changed, 1 insertions, 9 deletions
diff --git a/crypto/digest/digest_test.cc b/crypto/digest/digest_test.cc
index 32d12d24..39ceaffc 100644
--- a/crypto/digest/digest_test.cc
+++ b/crypto/digest/digest_test.cc
@@ -26,8 +26,6 @@
#include "../test/scoped_types.h"
-namespace bssl {
-
struct MD {
// name is the name of the digest.
const char* name;
@@ -245,7 +243,7 @@ static int TestGetters() {
return true;
}
-static int Main() {
+int main(void) {
CRYPTO_library_init();
for (size_t i = 0; i < sizeof(kTestVectors) / sizeof(kTestVectors[0]); i++) {
@@ -262,9 +260,3 @@ static int Main() {
printf("PASS\n");
return 0;
}
-
-} // namespace bssl
-
-int main() {
- return bssl::Main();
-}