summaryrefslogtreecommitdiff
path: root/crypto/bio/b_print.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove dead code from cryptoMatt Caswell2015-03-171-5/+2
| | | | | | | Some miscellaneous removal of dead code from lib crypto. Reviewed-by: Richard Levitte <levitte@openssl.org> (cherry picked from commit b7573c597c1932ef709b2455ffab47348b5c54e5)
* Unchecked malloc fixesMatt Caswell2015-03-051-0/+8
| | | | | | | | | | | | | | | | | | | Miscellaneous unchecked malloc fixes. Also fixed some mem leaks on error paths as I spotted them along the way. Reviewed-by: Tim Hudson <tjh@openssl.org> (cherry picked from commit 918bb8652969fd53f0c390c1cd909265ed502c7e) Conflicts: crypto/bio/bss_dgram.c Conflicts: apps/cms.c apps/s_cb.c apps/s_server.c apps/speed.c crypto/dh/dh_pmeth.c ssl/s3_pkt.c
* Run util/openssl-format-source -v -c .Matt Caswell2015-01-221-196/+170
| | | | Reviewed-by: Tim Hudson <tjh@openssl.org>
* mark all block comments that need format preserving so thatTim Hudson2015-01-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | indent will not alter them when reformatting comments (cherry picked from commit 1d97c8435171a7af575f73c526d79e1ef0ee5960) Conflicts: crypto/bn/bn_lcl.h crypto/bn/bn_prime.c crypto/engine/eng_all.c crypto/rc4/rc4_utl.c crypto/sha/sha.h ssl/kssl.c ssl/t1_lib.c Conflicts: crypto/rc4/rc4_enc.c crypto/x509v3/v3_scts.c crypto/x509v3/v3nametest.c ssl/d1_both.c ssl/s3_srvr.c ssl/ssl.h ssl/ssl_locl.h ssl/ssltest.c ssl/t1_lib.c Reviewed-by: Tim Hudson <tjh@openssl.org>
* Make bn2dec work on "SIXTY_FOUR_BIT" platforms.Andy Polyakov2007-09-151-3/+3
| | | | PR: 1456
* Fix compilation when HAVE_LONG_LONG isn't defined.Geoff Thorpe2005-07-261-1/+1
|
* fix compiler warning; pow10 is also in math.hNils Larsch2005-05-051-3/+3
|
* some const fixes and cleanupNils Larsch2005-04-051-1/+1
|
* Protect against gcc's "warning: cast does not match function type".Geoff Thorpe2004-03-251-3/+5
|
* Remove a warning for conversion double->long. This has impacts on Windows.Richard Levitte2004-03-211-2/+2
| | | | PR: 849
* To figure out if we're going outside the buffer, use the size of the buffer,Richard Levitte2003-12-111-3/+3
| | | | | | | not the size of the integer used to index in said buffer. PR: 794 Notified by: Rhett Garber <rhett_garber@hp.com>
* Avoid some shadowed variable names.Geoff Thorpe2003-11-041-3/+3
| | | | Submitted by: Nils Larsch
* Remove an unnecessary cast that causes certain compilers (eg. mine) someGeoff Thorpe2003-10-291-4/+4
| | | | confusion. Also silence a couple of signed/unsigned warnings.
* Fix sign bugs.Richard Levitte2003-05-211-1/+1
| | | | PR: 621
* Make %p and %# work properly, at least with pointers and floats.Richard Levitte2003-04-031-4/+15
|
* Security fixes brought forward from 0.9.7.Ben Laurie2002-11-131-6/+6
|
* Certain flag macros were tested with #if instead if #ifdef...Richard Levitte2002-08-021-1/+1
|
* make b_print.c consistent with the rest of OpenSSL:Bodo Möller2002-05-141-0/+7
| | | | disable assert() except for debug builds
* Make the huge buffer smaller, so the size becomes reasonable for small-stack ↵Richard Levitte2002-05-091-1/+3
| | | | | | environments. Notified by Verdon Walker <VWalker@novell.com>
* Move an assert() to avoid core dumps when a static buffer hasn't been given.Richard Levitte2002-05-091-2/+3
| | | | Notified by Verdon Walker <VWalker@novell.com>
* name confusion with HP library function prototype (?)Ulf Möller2001-12-101-2/+2
|
* Win32 fixes:Dr. Stephen Henson2001-04-291-1/+5
| | | | | | define LLONG properly for VC++. stop compiler complaining about signed/unsigned mismatch in apps/engine.c
* Include bn.h so we get BN_LLONG properly defined. Otherwise, we can forget ↵Richard Levitte2001-03-271-0/+1
| | | | things like %lld
* %f conversion bug fixUlf Möller2001-02-271-1/+1
| | | | Submitted by: Henrik Eriksson <henrik.eriksson@axis.com>
* On some operating systems, MAX is defined. Call ours OSSL_MAX insteadRichard Levitte2000-10-221-3/+3
|
* Change the printing mahine used by BIO_printf() and friends so it canRichard Levitte2000-09-071-160/+89
| | | | | | | | | | handle an externally provided "static" buffer as well a a dynamic buffer. The "static" buffer is filled first, but if overflowed, the dynamic buffer is used instead, being allocated somewhere i the heap. This combines the benefits of putting the output in a preallocated buffer (on the stack, for example) and in a buffer that grows somewhere in the heap.
* Increase print buffer (10K instead of just 2K).Bodo Möller2000-09-051-1/+1
|
* ConsistencyBodo Möller2000-09-041-1/+1
|
* Added BIO_vprintf() and BIO_vsnprintf(). The former because I'veRichard Levitte2000-08-181-5/+24
| | | | found myself needing it a number of times, the latter for completeness.
* There have been a number of complaints from a number of sources that namesRichard Levitte2000-06-011-3/+3
| | | | | | | | | like Malloc, Realloc and especially Free conflict with already existing names on some operating systems or other packages. That is reason enough to change the names of the OpenSSL memory allocation macros to something that has a better chance of being unique, like prepending them with OPENSSL_. This change includes all the name changes needed throughout all C files.
* New function ERR_error_string_n.Bodo Möller2000-04-141-51/+73
|
* Let's care about the compiler warnings for both cases, shall we?Richard Levitte2000-03-041-2/+4
|
* gcc warningsUlf Möller2000-03-041-4/+17
|
* Hack b_print.c to implement asprintf() functionality. Not enabled byRichard Levitte2000-03-021-46/+165
| | | | | | | | default yet, I wanna play with it a bit more. For those who don't know: asprintf() is an allocating sprintf. The first argument to it is a double indirection to char instead of a single.
* Bug fix.Ulf Möller2000-02-291-1/+1
| | | | Pointed out by: Gisle Vanem <gvanem@eunet.no>
* Typo corrected.Richard Levitte2000-02-281-1/+1
|
* Short is always promoted to int when passed as a function argument.Richard Levitte2000-02-271-3/+2
| | | | This is especially true when it's part of a '...'.
* Don't include sys/types.h if NO_SYS_TYPES_H is defined.Richard Levitte2000-02-261-1/+3
|
* Let's avoid compiler warnings over types.Richard Levitte2000-02-261-2/+3
| | | | | Actually, this should be resolved by using size_t a bit more, but that'll be for later.
* Gets around VC++ compiler pickiness. (long != double)Geoff Thorpe2000-02-251-1/+1
| | | | PR:
* different snprintf version.Ulf Möller2000-02-251-566/+575
|
* Use public domain snprintf() implementation by Patrick Powell to avoidUlf Möller2000-02-241-1/+613
| | | | | | | potential buffer overrun in BIO_printf(). ---------------------------------------------------------------------- crypto/bio/b_print.c CVS: ----------------------------------------------------------------------
* Use ANSI stdarg.Ulf Möller1999-05-051-11/+6
|
* Change #include filenames from <foo.h> to <openssl.h>.Bodo Möller1999-04-231-1/+1
| | | | | | Submitted by: Reviewed by: PR:
* Import of old SSLeay release: SSLeay 0.9.0bRalf S. Engelschall1998-12-211-1/+1
|
* Import of old SSLeay release: SSLeay 0.8.1bRalf S. Engelschall1998-12-211-0/+92