/[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 211 by weaselp, Thu Aug 29 08:50:00 2002 UTC revision 212 by disastry, Wed Sep 4 06:40:31 2002 UTC
# Line 6  Line 6 
6     details.     details.
7    
8     OpenPGP data     OpenPGP data
9     $Id: pgpdata.c,v 1.13 2002/08/29 08:50:00 weaselp Exp $ */     $Id: pgpdata.c,v 1.14 2002/09/04 06:40:31 disastry Exp $ */
10    
11    
12  #include "mix3.h"  #include "mix3.h"
# Line 836  int pgp_rsakeygen(int bits, BUFFER *user Line 836  int pgp_rsakeygen(int bits, BUFFER *user
836    sig = buf_new();    sig = buf_new();
837    
838    errlog(NOTICE, "Generating OpenPGP RSA key.\n");    errlog(NOTICE, "Generating OpenPGP RSA key.\n");
839    k = RSA_generate_key(bits == 0 ? 1024 : bits, 3, NULL, NULL);    k = RSA_generate_key(bits == 0 ? 1024 : bits, 17, NULL, NULL);
840    if (k == NULL) {    if (k == NULL) {
841      err = -1;      err = -1;
842      goto end;      goto end;

Legend:
Removed from v.211  
changed lines
  Added in v.212

  ViewVC Help
Powered by ViewVC 1.1.5