summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2002-07-07 20:39:36 +0000
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2002-07-07 20:39:36 +0000
commit823e5791ba93dcf51091815f0ed931cdff321c83 (patch)
tree07e2fa9aae3d285a8b81a1507f96fa62448aca8b
parentaee6c1ffa3db683b4246291c49540e290966649f (diff)
downloadgnutls-823e5791ba93dcf51091815f0ed931cdff321c83.tar.gz
*** empty log message ***
-rw-r--r--lib/gnutls_x509.c2
-rw-r--r--src/serv.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/gnutls_x509.c b/lib/gnutls_x509.c
index 1a0f09d8ef..e01007769d 100644
--- a/lib/gnutls_x509.c
+++ b/lib/gnutls_x509.c
@@ -1373,7 +1373,7 @@ int _gnutls_der_check_if_rsa_key(const gnutls_datum * key_struct)
/* 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)
diff --git a/src/serv.c b/src/serv.c
index 0f0b651082..96574f7fe1 100644
--- a/src/serv.c
+++ b/src/serv.c
@@ -618,7 +618,7 @@ int main(int argc, char **argv)
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));
*/
@@ -651,7 +651,7 @@ int main(int argc, char **argv)
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);