summaryrefslogtreecommitdiffstats
path: root/lib/libssl/src/apps (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* if (x) free(x) -> free(x); semantic patch generated with coccinelle, carefullymiod2014-05-221-2/+1
| | | | eyeballed before applying. Contributed by Cyril Roelandt on tech@
* More KNF.jsing2014-05-191-60/+60
|
* More whack-a-mole^Wfips.jsing2014-05-192-18/+1
| | | | ok miod@
* It is perfectly valid to call free(NULL), so stop checking for non-NULLjsing2014-05-1929-128/+80
| | | | before calling free - of some course parts of the code already did this.
* Out of all the openssl apps, just one of them has code to mess around withjsing2014-05-181-12/+0
| | | | | | electric fence externs. Nuke from orbit. ok miod@
* W_OK comes via unistd.h - nuke several #ifndef W_OK that attempt to handlejsing2014-05-181-13/+2
| | | | missing defines.
* Remove unused include.jsing2014-05-183-3/+0
|
* Group and sort includes.jsing2014-05-1850-214/+308
| | | | | | | | Currently "apps.h" needs to be included before any of the openssl headers and there are several cases where the code depends on headers that are included by something included by apps.h... More untangling saved for later on.
* bio_err is initialised in main, hence there is no need to initialise itjsing2014-05-1846-168/+16
| | | | | | | | | | | | in each application (since there is no longer a non-monolithic mode). In typical OpenSSL fashion, the code is inconsistent and there are multiple ways that bio_err was initialised - none of them actually checked to see if the initialisation actually succeeded. Additionally, it is worth noting that in at least two cases bio_err was also being used before it would have been initialised. ok miod@
* add missing header needed for mem{cpy,cmp}()chl2014-05-171-0/+1
| | | | ok tedu@
* no no md2tedu2014-05-173-39/+0
|
* deleted seed some time agotedu2014-05-179-85/+0
|
* switch RSA key generation default to 2048 bits (matching ssh); ok miod@sthen2014-05-171-1/+1
|
* less than jpaketedu2014-05-074-317/+4
|
* "stay backwards-compatible with 0.9.5; this should go away soon"tedu2014-05-061-8/+0
| | | | it's your lucky day!
* remove Kerberostedu2014-05-062-41/+0
|
* move a comment to make unifdef happiertedu2014-05-061-2/+3
|
* bye bye SRPtedu2014-05-064-975/+0
|
* During the great e_os.h nukathon we stopped pulling in <sys/filio.h> viajsing2014-05-053-35/+6
| | | | | | | | | the ifdef maze, meaning that FIONBIO was no longer defined. This removes non-blocking I/O support from s_{client,server,time}. Remove all FIONBIO ifdefs and import <sys/ioctl.h>, renabling -nbio. ok miod@
* Kill memory debug calls that are now noops. While here, nuke an #if 0 andjsing2014-05-051-22/+3
| | | | | | a unnecessary NULL check before free. ok miod@
* OpenBSD has_SC_CLK_TCK.jsing2014-05-051-27/+0
| | | | ok miod@
* Nuke more defines - we have setvbuf() and _IONBF.jsing2014-05-032-16/+0
| | | | ok deraadt@
* Add ChaCha as a cipher.jsing2014-05-021-0/+3
| | | | ok beck@ miod@
* remove crazy #undefs; ok jsingderaadt2014-05-0210-13/+0
|
* Nuke OPENSSL_NO_SOCK since any half sane operating system has sockets.jsing2014-05-023-19/+0
| | | | ok beck@
* Sort and group includes. We also do not need to include openssl/evp.h morejsing2014-05-021-45/+47
| | | | | | than once. ok beck@
* Sort function prototypes and group/sort entries within the functions array.jsing2014-05-021-237/+125
| | | | ok beck@
* Fold in the zlib_cleanup macro.jsing2014-04-252-7/+4
|
* do_pipe_sig is now only used in openssl.c - just call signal() directlyjsing2014-04-252-3/+1
| | | | from there instead and ditch the macro.
* NON_MAIN no longer means anything so remove it, along with APP_INIT.jsing2014-04-253-17/+0
| | | | ok miod@
* The apps_{startup,shutdown} macro mess is now only used in openssl.c -jsing2014-04-252-36/+42
| | | | | | reduce the macro to two functions and just call them instead. ok miod@
* Try to clean the maze of <openssl/bn.h> defines regarding the BN internals.miod2014-04-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | | The intent of this change is to only keep support for two kind of architectures: - those with 32-bit int and long, and 64-bit long long, where ``long * long -> long long'' multiplication routines are available. - those with 64-bit int and long, and no 128-bit long long type. This gets rid of the SIXTY_FOUR_BIT_LONG, SIXTY_FOUR_BIT (not the same!), THIRTY_TWO_BIT, SIXTEEN_BIT and EIGHT_BIT defines. After this change, the types and defines are as follows: arch: 64bit 32bit rationale BN_LLONG undefined defined defined if l * l -> ll BN_ULLONG undefined u long long result of BN_LONG * BN_LONG BN_ULONG u long u int native register size BN_LONG long int the same, signed BN_BITS 128 64 size of 2*BN_ULONG in bits BN_BYTES 8 4 size of 2*BN_ULONG in bytes BN_BITS2 64 32 BN_BITS / 2 Tested on various 32-bit and 64-bit OpenBSD systems of various endianness.
* unifdef -U LINTjsing2014-04-246-18/+0
|
* When OPENSSL_C is not defined, apps_startup becomes ajsing2014-04-2438-72/+72
| | | | | | | signal(SIGPIPE, SIG_IGN) and apps_shutdown is a no-op. So just do that instead. ok beck@
* Remove more FIPS tenticles.jsing2014-04-241-12/+1
| | | | ok beck@
* Rip a bunch of ifdefs from speed. We know we can fork, have SIGALRM andjsing2014-04-241-267/+2
| | | | | | do not use lint. ok miod@
* Support for the -ssl2 option has been removed, so remove it from usagelteo2014-04-241-1/+0
| | | | | | as well ("openssl ciphers -h"). "sure" miod@
* Unifdef -UPEDANTIC. ok beck@ tedu@miod2014-04-2313-75/+0
|
* We do not need ARGV, Argc and Argv - just use argc and argv like normaljsing2014-04-231-12/+9
| | | | | | people do. ok beck@ (although he wanted #Arrrrrrrgv instead).
* Nuke the last of the windows related defines from the openssl apps.jsing2014-04-229-66/+0
| | | | ok deraadt@
* KNF.jsing2014-04-225-803/+815
|
* More KNF.jsing2014-04-224-95/+92
|
* More KNF.jsing2014-04-221-31/+37
|
* More KNF.jsing2014-04-226-56/+74
|
* More KNF.jsing2014-04-221-150/+225
|
* More KNF.jsing2014-04-222-79/+127
|
* you must have S_ISDIR to playderaadt2014-04-211-16/+4
|
* remove the openssl_fdset wrapper, and a variety of VMS'ism's likederaadt2014-04-196-48/+19
| | | | | crazy (void *) casts all over the place ok beck jsing
* Remove a gethostbyname() cache layer. The internet works better thesederaadt2014-04-191-50/+1
| | | | days. Initially fixed this, but Ted asked for it to die.
* ReadFile() and GetStdHandle() are not very POSIX.deraadt2014-04-194-45/+6
| | | | ok beck jsing