]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
*** empty log message ***
authorNikos Mavrogiannopoulos <nmav@gnutls.org>
Sun, 7 Jul 2002 20:39:36 +0000 (20:39 +0000)
committerNikos Mavrogiannopoulos <nmav@gnutls.org>
Sun, 7 Jul 2002 20:39:36 +0000 (20:39 +0000)
lib/gnutls_x509.c
src/serv.c

index 1a0f09d8ef671f21d7897440441be5b43e229fb6..e01007769d4678bb098bf837a716a53c5f998952 100644 (file)
@@ -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)
index 0f0b6510827e0cc87c381cff37d6a1657523b4d5..96574f7fe1d9f5918161d1eda151dbbb3505109a 100644 (file)
@@ -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);