D | common_crypto_x509.c | 231 X509_EXTENSION *ext = NULL; in CC_CommonX509AddIntegerExtension() local 261 ext = X509V3_EXT_conf_nid(NULL, NULL, nid, extValue); in CC_CommonX509AddIntegerExtension() 262 if (OPEN_SSL_ERROR == ext) { in CC_CommonX509AddIntegerExtension() 270 rc = X509_add_ext(plCert, ext, -1); in CC_CommonX509AddIntegerExtension() 281 X509_EXTENSION_free(ext); in CC_CommonX509AddIntegerExtension() 306 X509_EXTENSION *ext = NULL; in CC_CommonX509AddStringExtension() local 345 ext = X509V3_EXT_conf_nid(NULL, NULL, nid, extValue); in CC_CommonX509AddStringExtension() 346 if (OPEN_SSL_ERROR == ext) { in CC_CommonX509AddStringExtension() 354 rc = X509_add_ext(plCert, ext, -1); in CC_CommonX509AddStringExtension() 365 if (ext != NULL) { in CC_CommonX509AddStringExtension() [all …]
|