summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortb <>2022-01-14 08:50:25 +0000
committertb <>2022-01-14 08:50:25 +0000
commiteaa45f0228d52ceff337823ecd9f7964101f286e (patch)
tree1e5b05d24d9419a1eec821e22bcb0d41a7a13953
parent032151a842acb79c7192dbf692ab9bb31ec79f30 (diff)
downloadopenbsd-eaa45f0228d52ceff337823ecd9f7964101f286e.tar.gz
openbsd-eaa45f0228d52ceff337823ecd9f7964101f286e.tar.bz2
openbsd-eaa45f0228d52ceff337823ecd9f7964101f286e.zip
Remove name_cmp from public visibility
ok inoguchi jsing
-rw-r--r--src/lib/libcrypto/x509/x509_lcl.h2
-rw-r--r--src/lib/libcrypto/x509/x509v3.h3
2 files changed, 3 insertions, 2 deletions
diff --git a/src/lib/libcrypto/x509/x509_lcl.h b/src/lib/libcrypto/x509/x509_lcl.h
index 8fb1f27255..7854346b1f 100644
--- a/src/lib/libcrypto/x509/x509_lcl.h
+++ b/src/lib/libcrypto/x509/x509_lcl.h
@@ -377,6 +377,8 @@ struct x509_store_ctx_st {
377 377
378int x509_check_cert_time(X509_STORE_CTX *ctx, X509 *x, int quiet); 378int x509_check_cert_time(X509_STORE_CTX *ctx, X509 *x, int quiet);
379 379
380int name_cmp(const char *name, const char *cmp);
381
380__END_HIDDEN_DECLS 382__END_HIDDEN_DECLS
381 383
382#endif /* !HEADER_X509_LCL_H */ 384#endif /* !HEADER_X509_LCL_H */
diff --git a/src/lib/libcrypto/x509/x509v3.h b/src/lib/libcrypto/x509/x509v3.h
index cd53debd97..621ce571bb 100644
--- a/src/lib/libcrypto/x509/x509v3.h
+++ b/src/lib/libcrypto/x509/x509v3.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: x509v3.h,v 1.12 2021/12/24 13:58:15 tb Exp $ */ 1/* $OpenBSD: x509v3.h,v 1.13 2022/01/14 08:50:25 tb Exp $ */
2/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL 2/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
3 * project 1999. 3 * project 1999.
4 */ 4 */
@@ -772,7 +772,6 @@ int X509V3_add1_i2d(STACK_OF(X509_EXTENSION) **x, int nid, void *value, int crit
772 772
773char *hex_to_string(const unsigned char *buffer, long len); 773char *hex_to_string(const unsigned char *buffer, long len);
774unsigned char *string_to_hex(const char *str, long *len); 774unsigned char *string_to_hex(const char *str, long *len);
775int name_cmp(const char *name, const char *cmp);
776 775
777void X509V3_EXT_val_prn(BIO *out, STACK_OF(CONF_VALUE) *val, int indent, 776void X509V3_EXT_val_prn(BIO *out, STACK_OF(CONF_VALUE) *val, int indent,
778 int ml); 777 int ml);