summaryrefslogtreecommitdiffstats
path: root/modules/md
diff options
context:
space:
mode:
Diffstat (limited to 'modules/md')
-rw-r--r--modules/md/md_crypt.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/md/md_crypt.c b/modules/md/md_crypt.c
index acb62d3456..c9f73614cd 100644
--- a/modules/md/md_crypt.c
+++ b/modules/md/md_crypt.c
@@ -1485,6 +1485,7 @@ out:
#define MD_OID_CT_SCTS_SNAME "CT-SCTs"
#define MD_OID_CT_SCTS_LNAME "CT Certificate SCTs"
+#ifndef OPENSSL_NO_CT
static int get_ct_scts_nid(void)
{
int nid = OBJ_txt2nid(MD_OID_CT_SCTS_NUM);
@@ -1494,6 +1495,7 @@ static int get_ct_scts_nid(void)
}
return nid;
}
+#endif
const char *md_nid_get_sname(int nid)
{