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/evp/evp_extra_test.cc')
-rw-r--r--crypto/evp/evp_extra_test.cc10
1 files changed, 9 insertions, 1 deletions
diff --git a/crypto/evp/evp_extra_test.cc b/crypto/evp/evp_extra_test.cc
index 9bc36ad8..2253c56b 100644
--- a/crypto/evp/evp_extra_test.cc
+++ b/crypto/evp/evp_extra_test.cc
@@ -30,6 +30,8 @@
#include "../test/scoped_types.h"
+namespace bssl {
+
// kExampleRSAKeyDER is an RSA private key in ASN.1, DER format. Of course, you
// should never use this key anywhere but in an example.
static const uint8_t kExampleRSAKeyDER[] = {
@@ -671,7 +673,7 @@ static bool Testd2i_PrivateKey(void) {
return true;
}
-int main(void) {
+static int Main() {
CRYPTO_library_init();
if (!TestEVP_DigestSignInit()) {
@@ -719,3 +721,9 @@ int main(void) {
printf("PASS\n");
return 0;
}
+
+} // namespace bssl
+
+int main() {
+ return bssl::Main();
+}