Go to the documentation of this file.
66 #include "../internal.h"
83 if (
pp == NULL || objsize == -1) {
87 unsigned char *
p, *allocated = NULL;
104 *
pp = allocated != NULL ? allocated :
p +
a->length;
121 if (
a == NULL ||
a->data == NULL) {
125 char buf[80], *allocated = NULL;
128 if (
len > (
int)
sizeof(
buf) - 1) {
131 if (allocated == NULL) {
151 const unsigned char *
p = *
pp;
178 const unsigned char *
p;
187 if (len <= 0 || len > INT_MAX ||
pp == NULL || (
p = *
pp) == NULL ||
195 if (*
p == 0x80 && (!
i || !(
p[-1] & 0x80))) {
201 if ((
a == NULL) || ((*
a) == NULL) ||
211 data = (
unsigned char *)
ret->data;
245 if ((
ret != NULL) && ((
a == NULL) || (*
a !=
ret)))
275 a->sn =
a->ln = NULL;
287 const char *sn,
const char *ln)
#define ASN1_OBJECT_FLAG_DYNAMIC_DATA
#define ASN1_R_ILLEGAL_OBJECT
#define ASN1_OBJECT_FLAG_DYNAMIC_STRINGS
#define OPENSSL_PUT_ERROR(library, reason)
void ASN1_OBJECT_free(ASN1_OBJECT *a)
#define ASN1_R_TYPE_NOT_PRIMITIVE
ASN1_OBJECT * d2i_ASN1_OBJECT(ASN1_OBJECT **a, const unsigned char **pp, long length)
#define ASN1_OBJECT_FLAG_DYNAMIC
#define ERR_R_PASSED_NULL_PARAMETER
static void * tag(intptr_t t)
int i2t_ASN1_OBJECT(char *buf, int buf_len, const ASN1_OBJECT *a)
static void * OPENSSL_memcpy(void *dst, const void *src, size_t n)
#define ASN1_R_INVALID_OBJECT_ENCODING
int i2a_ASN1_OBJECT(BIO *bp, const ASN1_OBJECT *a)
#define V_ASN1_CONSTRUCTED
#define ASN1_R_BAD_OBJECT_HEADER
ASN1_OBJECT * c2i_ASN1_OBJECT(ASN1_OBJECT **a, const unsigned char **pp, long len)
#define ASN1_R_EXPECTING_AN_OBJECT
UniquePtr< SSL_SESSION > ret
static int write_str(BIO *bp, const char *str)
ASN1_OBJECT * ASN1_OBJECT_create(int nid, const unsigned char *data, int len, const char *sn, const char *ln)
ASN1_OBJECT * ASN1_OBJECT_new(void)
int i2d_ASN1_OBJECT(const ASN1_OBJECT *a, unsigned char **pp)
if(p->owned &&p->wrapped !=NULL)
#define ERR_R_MALLOC_FAILURE
grpc
Author(s):
autogenerated on Thu Mar 13 2025 02:58:28