version 1.34, 2023/11/13 11:50:36 |
version 1.35, 2023/11/21 17:56:19 |
|
|
X509 *x, X509 *xca, EVP_PKEY *pkey, STACK_OF(OPENSSL_STRING) *sigopts, |
X509 *x, X509 *xca, EVP_PKEY *pkey, STACK_OF(OPENSSL_STRING) *sigopts, |
char *serial, int create, int days, int clrext, CONF *conf, char *section, |
char *serial, int create, int days, int clrext, CONF *conf, char *section, |
ASN1_INTEGER *sno); |
ASN1_INTEGER *sno); |
static int purpose_print(BIO *bio, X509 *cert, X509_PURPOSE *pt); |
static int purpose_print(BIO *bio, X509 *cert, const X509_PURPOSE *pt); |
|
|
static struct { |
static struct { |
char *alias; |
char *alias; |
|
|
} |
} |
#endif |
#endif |
else if (cfg.pprint == i) { |
else if (cfg.pprint == i) { |
X509_PURPOSE *ptmp; |
const X509_PURPOSE *ptmp; |
int j; |
int j; |
|
|
BIO_printf(STDout, "Certificate purposes:\n"); |
BIO_printf(STDout, "Certificate purposes:\n"); |
|
|
} |
} |
|
|
static int |
static int |
purpose_print(BIO *bio, X509 *cert, X509_PURPOSE *pt) |
purpose_print(BIO *bio, X509 *cert, const X509_PURPOSE *pt) |
{ |
{ |
int id, i, idret; |
int id, i, idret; |
char *pname; |
const char *pname; |
|
|
id = X509_PURPOSE_get_id(pt); |
id = X509_PURPOSE_get_id(pt); |
pname = X509_PURPOSE_get0_name(pt); |
pname = X509_PURPOSE_get0_name(pt); |