* Copyright (c) 1995-2004, Index Data
* See the file LICENSE for details.
*
* Copyright (c) 1995-2004, Index Data
* See the file LICENSE for details.
*
hasread += res;
}
TRC (fprintf (stderr, " Out of read loop with hasread=%d, berlen=%d\n",
hasread += res;
}
TRC (fprintf (stderr, " Out of read loop with hasread=%d, berlen=%d\n",
/* get PEM buffer in memory */
PEM_write_bio_X509(bio, server_cert);
*len = BIO_get_mem_data(bio, &pem_buf);
/* get PEM buffer in memory */
PEM_write_bio_X509(bio, server_cert);
*len = BIO_get_mem_data(bio, &pem_buf);