/[pkg-mixmaster]/trunk/Mix/Src/pgpdata.c
ViewVC logotype

Diff of /trunk/Mix/Src/pgpdata.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 255 by disastry, Thu Sep 12 17:36:43 2002 UTC revision 259 by weaselp, Wed Sep 18 05:55:10 2002 UTC
# Line 6  Line 6 
6     details.     details.
7    
8     OpenPGP data     OpenPGP data
9     $Id: pgpdata.c,v 1.17 2002/09/12 17:36:43 disastry Exp $ */     $Id: pgpdata.c,v 1.18 2002/09/18 05:55:10 weaselp Exp $ */
10    
11    
12  #include "mix3.h"  #include "mix3.h"
# Line 897  int pgp_makepkpacket(int type, BUFFER *p Line 897  int pgp_makepkpacket(int type, BUFFER *p
897       default:       default:
898        algoid = '?';        algoid = '?';
899      }      }
900      buf_appendf(outtxt, "%s %4d%c/%02X%02X%02X%02X ",      buf_appendf(outtxt, "%s %5d%c/%02X%02X%02X%02X ",
901                  type == PGP_PUBSUBKEY ?  "sub" :                  type == PGP_PUBSUBKEY ?  "sub" :
902                  type == PGP_PUBKEY ? "pub" :                  type == PGP_PUBKEY ? "pub" :
903                  type == PGP_SECKEY ? "sec" :                  type == PGP_SECKEY ? "sec" :
# Line 905  int pgp_makepkpacket(int type, BUFFER *p Line 905  int pgp_makepkpacket(int type, BUFFER *p
905                  "???", len, algoid,                  "???", len, algoid,
906                  id->data[4], id->data[5], id->data[6], id->data[7]);                  id->data[4], id->data[5], id->data[6], id->data[7]);
907      tc = localtime(created);      tc = localtime(created);
908      strftime(txt, LINELEN, "%Y/%m/%d ", tc);      strftime(txt, LINELEN, "%Y-%m-%d ", tc);
909      buf_appends(outtxt, txt);      buf_appends(outtxt, txt);
910    }    }
911   end:   end:

Legend:
Removed from v.255  
changed lines
  Added in v.259

  ViewVC Help
Powered by ViewVC 1.1.5