[prev in list] [next in list] [prev in thread] [next in thread]
List: gnupg-commit-watchers
Subject: [gnutls-commits] CVS gnutls/lib/x509
From: "CVS User jas" <jas () gnutls ! org>
Date: 2007-02-22 16:32:17
Message-ID: E1HKGrh-00006F-SC () trithemius ! gnupg ! org
[Download RAW message or body]
Update of /cvs/gnutls/gnutls/lib/x509
In directory trithemius:/tmp/cvs-serv384
Modified Files:
output.c
Log Message:
Minor tweaks to proxy output.
--- /cvs/gnutls/gnutls/lib/x509/output.c 2007/02/13 16:26:47 1.20
+++ /cvs/gnutls/gnutls/lib/x509/output.c 2007/02/22 16:32:17 1.21
@@ -110,15 +110,21 @@
if (pathlen >= 0)
addf (str, _("\t\t\tPath Length Constraint: %d\n"), pathlen);
- adds (str, _("\t\t\tPolicy Language: "));
+ addf (str, _("\t\t\tPolicy Language: %s"), policyLanguage);
if (strcmp (policyLanguage, "1.3.6.1.5.5.7.21.1") == 0)
- addf (str, "id-ppl-inheritALL\n");
+ adds (str, " (id-ppl-inheritALL)\n");
else if (strcmp (policyLanguage, "1.3.6.1.5.5.7.21.2") == 0)
- addf (str, "id-ppl-independent\n");
+ adds (str, " (id-ppl-independent)\n");
else
- addf (str, "%s\n", policyLanguage);
+ adds (str, "\n");
if (npolicy)
- addf (str, _("\t\t\tPolicy Language: %.*s\n"), npolicy, policy);
+ {
+ adds (str, _("\t\t\tPolicy:\n\t\t\t\tASCII: "));
+ asciiprint (str, policy, npolicy);
+ adds (str, _("\n\t\t\t\tHexdump: "));
+ hexprint (str, policy, npolicy);
+ adds (str, "\n");
+ }
}
static void
@@ -811,7 +817,6 @@
{
char *buffer;
size_t extlen = 0;
- size_t j;
addf (str, _("\t\tUnknown extension %s (%s):\n"), oid,
critical ? _("critical") : _("not critical"));
@@ -1247,7 +1252,6 @@
char s[42];
size_t max = sizeof (s);
struct tm t;
- size_t i;
addf (str, _("\t\tSerial Number (hex): "));
hexprint (str, serial, serial_size);
_______________________________________________
Gnutls-commits mailing list
Gnutls-commits@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnutls-commits
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic