diff options
author | Jim Jagielski <jim@apache.org> | 2019-07-23 14:50:04 +0200 |
---|---|---|
committer | Jim Jagielski <jim@apache.org> | 2019-07-23 14:50:04 +0200 |
commit | 692664cfe02d11bf5ce44833f0bc074a58cb7d37 (patch) | |
tree | 48e0aede9215b629f73deb4a7c91960bfbfb8730 /modules/md | |
parent | fr doc rebuild. (diff) | |
download | apache2-692664cfe02d11bf5ce44833f0bc074a58cb7d37.tar.xz apache2-692664cfe02d11bf5ce44833f0bc074a58cb7d37.zip |
Wrap get_ct_scts_nid() in preproc in order to avoid error: unused function 'get_ct_scts_nid' [-Werror,-Wunused-function] in maint mode
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1863635 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/md')
-rw-r--r-- | modules/md/md_crypt.c | 2 |
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) { |