aboutsummaryrefslogtreecommitdiff
path: root/apps/nseq.c
AgeCommit message (Collapse)AuthorFilesLines
2015-04-24Big apps cleanup (option-parsing, etc)Rich Salz1-64/+52
This is merges the old "rsalz-monolith" branch over to master. The biggest change is that option parsing switch from cascasding 'else if strcmp("-foo")' to a utility routine and somethin akin to getopt. Also, an error in the command line no longer prints the full summary; use -help (or --help :) for that. There have been many other changes and code-cleanup, see bullet list below. Special thanks to Matt for the long and detailed code review. TEMPORARY: For now, comment out CRYPTO_mem_leaks() at end of main Tickets closed: RT3515: Use 3DES in pkcs12 if built with no-rc2 RT1766: s_client -reconnect and -starttls broke RT2932: Catch write errors RT2604: port should be 'unsigned short' RT2983: total_bytes undeclared #ifdef RENEG RT1523: Add -nocert to fix output in x509 app RT3508: Remove unused variable introduced by b09eb24 RT3511: doc fix; req default serial is random RT1325,2973: Add more extensions to c_rehash RT2119,3407: Updated to dgst.pod RT2379: Additional typo fix RT2693: Extra include of string.h RT2880: HFS is case-insensitive filenames RT3246: req command prints version number wrong Other changes; incompatibilities marked with *: Add SCSV support Add -misalign to speed command Make dhparam, dsaparam, ecparam, x509 output C in proper style Make some internal ocsp.c functions void Only display cert usages with -help in verify Use global bio_err, remove "BIO*err" parameter from functions For filenames, - always means stdin (or stdout as appropriate) Add aliases for -des/aes "wrap" ciphers. *Remove support for IISSGC (server gated crypto) *The undocumented OCSP -header flag is now "-header name=value" *Documented the OCSP -header flag Reviewed-by: Matt Caswell <matt@openssl.org>
2015-01-22Run util/openssl-format-source -v -c .Matt Caswell1-89/+92
Reviewed-by: Tim Hudson <tjh@openssl.org>
2008-11-05Update obsolete email address...Dr. Stephen Henson1-1/+1
2002-12-03EXIT() may mean return(). That's confusing, so let's have it really meanRichard Levitte1-2/+2
exit() in whatever way works for the intended platform, and define OPENSSL_EXIT() to have the old meaning (the name is of course because it's only used in the openssl program)
2002-07-10Reorder inclusion of header files:Lutz Jänicke1-1/+1
des_old.h redefines crypt: #define crypt(b,s)\ DES_crypt((b),(s)) This scheme leads to failure, if header files with the OS's true definition of crypt() are processed _after_ des_old.h was processed. This is e.g. the case on HP-UX with unistd.h. As evp.h now again includes des.h (which includes des_old.h), this problem only came up after this modification. Solution: move header files (indirectly) including e_os.h before the header files (indirectly) including evp.h. Submitted by: Reviewed by: PR:
2001-02-20Use new-style system-id macros everywhere possible. I hope I haven'tRichard Levitte1-1/+1
missed any. This compiles and runs on Linux, and external applications have no problems with it. The definite test will be to build this on VMS.
2000-09-20On VMS, stdout may very well lead to a file that is written to in aRichard Levitte1-3/+10
record-oriented fashion. That means that every write() will write a separate record, which will be read separately by the programs trying to read from it. This can be very confusing. The solution is to put a BIO filter in the way that will buffer text until a linefeed is reached, and then write everything a line at a time, so every record written will be an actual line, not chunks of lines and not (usually doesn't happen, but I've seen it once) several lines in one record. Voila, BIO_f_linebuffer() is born. Since we're so close to release time, I'm making this VMS-only for now, just to make sure no code is needlessly broken by this. After the release, this BIO method will be enabled on all other platforms as well.
2000-09-17Use sk_*_new_null() instead of sk_*_new(NULL), since that takes careRichard Levitte1-1/+1
of complaints from the compiler about data pointers and function pointers not being compatible with each other.
2000-02-11Make gcc 2.95.2 happy again, even under ``-Wall -Wshadow -Wpointer-arith ↵Ralf S. Engelschall1-0/+1
-Wcast-align -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline''.
1999-11-12Merge some common functionality in the apps, deleteDr. Stephen Henson1-15/+0
the encryption option in the pkcs7 utility (they never did anything) and add a couple more options to pkcs7.
1999-07-21Additional user data argument to pem_password_cb function typeBodo Möller1-2/+2
and to lots of PEM_... functions. Submitted by: Damien Miller <dmiller@ilogic.com.au>
1999-06-07Don't mix real tabs with tabs expanded as 8 spaces -- that'sBodo Möller1-12/+12
a pain to read when using 4-space tabs.
1999-05-30Another safe stack.Ben Laurie1-5/+5
1999-04-26Remove NOPROTO definitions and error code comments.Ulf Möller1-4/+0
1999-04-23Change #include filenames from <foo.h> to <openssl.h>.Bodo Möller1-2/+2
Submitted by: Reviewed by: PR:
1999-04-20Fix lots of warnings.Ulf Möller1-0/+1
Submitted by: Richard Levitte <levitte@stacken.kth.se>
1999-04-19Change functions to ANSI C.Ulf Möller1-6/+2
1999-03-29Include pkcs12 program as part of openssl. This completes most of the PKCS#12Dr. Stephen Henson1-1/+0
integration.
1999-01-31Reflect correct filenameRalf S. Engelschall1-1/+1
1999-01-29New program 'nseq' added to apps to allow Netscape certificate sequences toDr. Stephen Henson1-0/+182
be pulled apart and built.