[BACK]Return to gendsa.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / openssl

Diff for /src/usr.bin/openssl/gendsa.c between version 1.9 and 1.10

version 1.9, 2018/02/07 04:57:06 version 1.10, 2018/02/07 05:47:55
Line 143 
Line 143 
         }          }
   
         if (dsaparams == NULL) {          if (dsaparams == NULL) {
 bad:   bad:
                 BIO_printf(bio_err, "usage: gendsa [args] dsaparam-file\n");                  BIO_printf(bio_err, "usage: gendsa [args] dsaparam-file\n");
                 BIO_printf(bio_err, " -out file - output the key to 'file'\n");                  BIO_printf(bio_err, " -out file - output the key to 'file'\n");
 #ifndef OPENSSL_NO_DES  #ifndef OPENSSL_NO_DES
Line 202 
Line 202 
         if (!PEM_write_bio_DSAPrivateKey(out, dsa, enc, NULL, 0, NULL, passout))          if (!PEM_write_bio_DSAPrivateKey(out, dsa, enc, NULL, 0, NULL, passout))
                 goto end;                  goto end;
         ret = 0;          ret = 0;
 end:   end:
         if (ret != 0)          if (ret != 0)
                 ERR_print_errors(bio_err);                  ERR_print_errors(bio_err);
         BIO_free(in);          BIO_free(in);

Legend:
Removed from v.1.9  
changed lines
  Added in v.1.10