summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/x509/x509_local.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/x509/x509_local.h')
-rw-r--r--src/lib/libcrypto/x509/x509_local.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/lib/libcrypto/x509/x509_local.h b/src/lib/libcrypto/x509/x509_local.h
index e4d4b4ddd0..5240db1489 100644
--- a/src/lib/libcrypto/x509/x509_local.h
+++ b/src/lib/libcrypto/x509/x509_local.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: x509_local.h,v 1.33 2024/12/04 20:07:16 tb Exp $ */ 1/* $OpenBSD: x509_local.h,v 1.34 2025/01/26 20:01:58 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 2013. 3 * project 2013.
4 */ 4 */
@@ -61,6 +61,8 @@
61 61
62#include <openssl/x509v3.h> 62#include <openssl/x509v3.h>
63 63
64#include "bytestring.h"
65
64__BEGIN_HIDDEN_DECLS 66__BEGIN_HIDDEN_DECLS
65 67
66#define TS_HASH_EVP EVP_sha1() 68#define TS_HASH_EVP EVP_sha1()
@@ -439,6 +441,8 @@ STACK_OF(X509_ATTRIBUTE) *X509at_add1_attr_by_txt(STACK_OF(X509_ATTRIBUTE) **x,
439void *X509at_get0_data_by_OBJ(STACK_OF(X509_ATTRIBUTE) *x, 441void *X509at_get0_data_by_OBJ(STACK_OF(X509_ATTRIBUTE) *x,
440 const ASN1_OBJECT *obj, int lastpos, int type); 442 const ASN1_OBJECT *obj, int lastpos, int type);
441 443
444int X509_NAME_ENTRY_add_cbb(CBB *cbb, const X509_NAME_ENTRY *ne);
445
442int X509V3_add_value(const char *name, const char *value, 446int X509V3_add_value(const char *name, const char *value,
443 STACK_OF(CONF_VALUE) **extlist); 447 STACK_OF(CONF_VALUE) **extlist);
444int X509V3_add_value_uchar(const char *name, const unsigned char *value, 448int X509V3_add_value_uchar(const char *name, const unsigned char *value,