aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKazuki Yamaguchi <k@rhe.jp>2017-01-15 21:31:44 +0900
committerKazuki Yamaguchi <k@rhe.jp>2017-01-16 13:02:11 +0900
commita8e9a9dc676d313839f2ea60217f775e817966e1 (patch)
tree4e7108e365ed4da23fb8a7606f65b215acfcdbe4
parent5165effe4f5edd410715cb36cfc199f760ee320b (diff)
downloadruby-openssl-a8e9a9dc676d313839f2ea60217f775e817966e1.tar.gz
Don't define main() when built with --enable-debug
It is unnecessary as we have a test suite that does the job.
-rw-r--r--ext/openssl/ossl.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/ext/openssl/ossl.c b/ext/openssl/ossl.c
index a4fa0e73..2b390471 100644
--- a/ext/openssl/ossl.c
+++ b/ext/openssl/ossl.c
@@ -1115,14 +1115,3 @@ Init_openssl(void)
Init_ossl_engine();
Init_ossl_asn1();
}
-
-#if defined(OSSL_DEBUG)
-/*
- * Check if all symbols are OK with 'make LDSHARED=gcc all'
- */
-int
-main(int argc, char *argv[])
-{
- return 0;
-}
-#endif /* OSSL_DEBUG */