summaryrefslogtreecommitdiffstats
path: root/ssl/ssl_lib.c
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2017-02-28 10:52:09 +0000
committerMatt Caswell <matt@openssl.org>2017-02-28 12:54:52 +0000
commitdf15c84901b235233013105c5977074d68530852 (patch)
tree5fbdff9693338cd06d61c1387b15580b0c81987d /ssl/ssl_lib.c
parent9d70ac97d9d8720e6ed280609c844da403b80440 (diff)
Remove some dead code from libssl
There are a small number of functions in libssl that are internal only and never used by anything. Reviewed-by: Emilia Käsper <emilia@openssl.org> (Merged from https://github.com/openssl/openssl/pull/2770)
Diffstat (limited to 'ssl/ssl_lib.c')
-rw-r--r--ssl/ssl_lib.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/ssl/ssl_lib.c b/ssl/ssl_lib.c
index 72c101b5f0..9382c2ed1d 100644
--- a/ssl/ssl_lib.c
+++ b/ssl/ssl_lib.c
@@ -3612,11 +3612,6 @@ void *SSL_CTX_get_ex_data(const SSL_CTX *s, int idx)
return (CRYPTO_get_ex_data(&s->ex_data, idx));
}
-int ssl_ok(SSL *s)
-{
- return (1);
-}
-
X509_STORE *SSL_CTX_get_cert_store(const SSL_CTX *ctx)
{
return (ctx->cert_store);