Diff

Differences From Artifact [ea8ff7e7c8]:

To Artifact [e4f9edb46f]:


367
368
369
370
371
372
373
374




375
376
377
378
379
380
381
367
368
369
370
371
372
373

374
375
376
377
378
379
380
381
382
383
384







-
+
+
+
+







 *		A Tcl List Object representing the provided
 *		X509 certificate.
 *
 *------------------------------------------------------*
 */

Tcl_Obj*
Tls_NewX509Obj(Tcl_Interp *interp, X509 *cert) {
Tls_NewX509Obj(
    Tcl_Interp *interp,
    X509 *cert)
{
    Tcl_Obj *certPtr = Tcl_NewListObj(0, NULL);
    BIO *bio = BIO_new(BIO_s_mem());
    int mdnid, pknid, bits, len;
    unsigned int ulen;
    uint32_t xflags;
    char buffer[BUFSIZ];
    unsigned char md[EVP_MAX_MD_SIZE];