/* Reads a PEM encoded PKCS-1 RSA private key from memory
* 2002-01-26: Added ability to read DSA keys.
- * type==0 then certificate is DER formatted, else -> DER
+ * type indicates the certificate format.
*/
static int read_key_mem(GNUTLS_CERTIFICATE_CREDENTIALS res, const char *key, int key_size,
GNUTLS_X509_CertificateFmt type)
ctt[strlen(ctt)-1] = 0;
/*
- printf("- connection from %s, port %d\n",
+ printf("\n* connection from %s, port %d\n",
inet_ntop(AF_INET, &client_address.sin_addr, topbuf,
sizeof(topbuf)), ntohs(client_address.sin_port));
*/
printf("*** This is a resumed session\n");
if (quiet == 0) {
- printf("- connection from %s, port %d\n",
+ printf("\n* connection from %s, port %d\n",
inet_ntop(AF_INET, &client_address.sin_addr, topbuf,
sizeof(topbuf)), ntohs(client_address.sin_port));
print_info( j->tstate);