History

20070807-1541

Charles.Forsyth committed 19 years ago

Commit 1e6ba181 parent ac96fb45 files · +18 −7Browse files

Unified · Split

5 files
  1. CHANGES +3 −0
  2. appl/cmd/auth/mkfile +1 −2
  3. include/version.h +1 −1
  4. lib/proto/inferno +3 −0
  5. libinterp/keyring.c +10 −4
CHANGES+3−0
@@ -1,3 +1,6 @@
1+20070807
2+ libinterp/keyring.c don't include owner= if owner is nil or ""
3+ add auth/rsagen
14 20070806
25 /module/lists.m add PATH(!), also simplify concat implementation
36 20070725
appl/cmd/auth/mkfile+1−2
@@ -15,7 +15,7 @@ TARG=\ · 14 unmodified lines
1515 logind.dis\
1616 mkauthinfo.dis\
1717 passwd.dis\
18− secstore.dis\
18+ rsagen.dis\
1919 signer.dis\
2020 verify.dis\
2121
@@ -27,7 +27,6 @@ SYSMODULES=\ · 5 unmodified lines
2727 sys.m\
2828 draw.m\
2929 bufio.m\
30− secstore.m\
3130 string.m\
3231 styx.m\
3332 styxservers.m\
include/version.h+1−1
@@ -1 +1 @@
1−#define VERSION "Fourth Edition (20070806)"
1+#define VERSION "Fourth Edition (20070807)"
lib/proto/inferno+3−0
@@ -376,6 +376,7 @@ appl · 375 unmodified lines
376376 mkauthinfo.b
377377 mkfile
378378 passwd.b
379+ rsagen.b
379380 secstore.b
380381 signer.b
381382 verify.b
@@ -743,6 +744,7 @@ appl · 361 unmodified lines
743744 touch.b
744745 touchcal.b
745746 tr.b
747+ trfs.b
746748 tsort.b
747749 unicode.b
748750 units.b
@@ -1827,6 +1829,7 @@ dis · 1078 unmodified lines
18271829 touch.dis
18281830 touchcal.dis
18291831 tr.dis
1832+ trfs.dis
18301833 tsort.dis
18311834 unicode.dis
18321835 uniq.dis
libinterp/keyring.c+10−4
@@ -368,7 +368,7 @@ void · 367 unmodified lines
368368 Keyring_sktoattr(void *fp)
369369 {
370370 F_Keyring_sktoattr *f;
371− char *val, *buf;
371+ char *val, *buf, *owner;
372372 SigAlg *sa;
373373 Fmt o;
374374 SK *sk;
@@ -383,7 +383,10 @@ Keyring_sktoattr(void *fp) · 8 unmodified lines
383383 }
384384 (*sa->vec->sk2str)(sk->key, buf, Maxbuf);
385385 fmtstrinit(&o);
386− fmtprint(&o, "alg=%q owner=%q", string2c(sa->x.name), string2c(sk->x.owner));
386+ fmtprint(&o, "alg=%q", string2c(sa->x.name));
387+ owner = string2c(sk->x.owner);
388+ if(*owner)
389+ fmtprint(&o, " owner=%q", owner);
387390 val = bigs2attr(&o, buf, sa->vec->skattr);
388391 free(buf);
389392 retstr(val, f->ret);
@@ -577,7 +580,7 @@ void · 187 unmodified lines
577580 Keyring_pktoattr(void *fp)
578581 {
579582 F_Keyring_pktoattr *f;
580− char *val, *buf;
583+ char *val, *buf, *owner;
581584 SigAlg *sa;
582585 Fmt o;
583586 PK *pk;
@@ -592,7 +595,10 @@ Keyring_pktoattr(void *fp) · 8 unmodified lines
592595 }
593596 (*sa->vec->pk2str)(pk->key, buf, Maxbuf);
594597 fmtstrinit(&o);
595− fmtprint(&o, "alg=%q owner=%q", string2c(sa->x.name), string2c(pk->x.owner));
598+ fmtprint(&o, "alg=%q", string2c(sa->x.name));
599+ owner = string2c(pk->x.owner);
600+ if(*owner)
601+ fmtprint(&o, " owner=%q", owner);
596602 val = bigs2attr(&o, buf, sa->vec->pkattr);
597603 free(buf);
598604 retstr(val, f->ret);

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t