diff options
author | Kazuki Yamaguchi <k@rhe.jp> | 2017-01-15 21:31:44 +0900 |
---|---|---|
committer | Kazuki Yamaguchi <k@rhe.jp> | 2017-01-16 13:02:11 +0900 |
commit | a8e9a9dc676d313839f2ea60217f775e817966e1 (patch) | |
tree | 4e7108e365ed4da23fb8a7606f65b215acfcdbe4 /ext | |
parent | 5165effe4f5edd410715cb36cfc199f760ee320b (diff) | |
download | ruby-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.
Diffstat (limited to 'ext')
-rw-r--r-- | ext/openssl/ossl.c | 11 |
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 */ |