History log of /openbsd-src/lib/libcrypto/asn1/asn1_lib.c (Results 26 – 50 of 54)
Revision Date Author Comments
# a8913c44 10-Jul-2014 jsing <jsing@openbsd.org>

Stop including standard headers via cryptlib.h - pull in the headers that
are needed in the source files that actually require them.

ok beck@ miod@


# 7376aa73 09-Jul-2014 bcook <bcook@openbsd.org>

remove unused, private version strings except SSL_version_str

Also remove unused des_ver.h, which exports some of these strings, but is not installed.

ok miod@ tedu@


# c3d6a26a 12-Jun-2014 deraadt <deraadt@openbsd.org>

tags as requested by miod and tedu


# 79cf10b5 30-May-2014 tedu <tedu@openbsd.org>

no need for null check before free. from Brendan MacDonell


# 0f637b92 26-Apr-2014 beck <beck@openbsd.org>

Replace all use of ERR_add_error_data with ERR_asprintf_error_data.
This avoids a lot of ugly gymnastics to do snprintfs before sending the
bag of strings to ERR, and eliminates at least one place in

Replace all use of ERR_add_error_data with ERR_asprintf_error_data.
This avoids a lot of ugly gymnastics to do snprintfs before sending the
bag of strings to ERR, and eliminates at least one place in dso_dlfctn.c
where it was being called with the incorrect number of arguments and
using random things off the stack as addresses of strings.
ok krw@, jsing@

show more ...


# 6dae11f4 21-Apr-2014 deraadt <deraadt@openbsd.org>

improve realloc/calloc/malloc patterns; ok guenther


# 98d172d6 20-Apr-2014 beck <beck@openbsd.org>

ASN1_STRING cleanup - realloc has handled NULL since I had a mullet
and parachute pants - and since it's obvious there is no guarantee
the caller doesn't pass in the data area in the argument, use me

ASN1_STRING cleanup - realloc has handled NULL since I had a mullet
and parachute pants - and since it's obvious there is no guarantee
the caller doesn't pass in the data area in the argument, use memmove
instead of memcpy so overlapping areas are handled correctly.
Also, pointers can be usefully printed in hex with %p, in error messaeges
rather than the bizzaro stuff that was there using mystical buffer lengths
and abuse of strlcpy-converted-blindly-from-strcpy

show more ...


# 5359f6d5 19-Apr-2014 guenther <guenther@openbsd.org>

We'll interpret a (void) cast on snprintf() to mean it's been verified that
truncation is either desirable, not an issue, or is detected and handled later

ok deraadt@


# 9ded598b 19-Apr-2014 jsing <jsing@openbsd.org>

More KNF.


# cc777fd4 18-Apr-2014 tedu <tedu@openbsd.org>

lob a few more knf grenades in here to soften things up.


# 93a4b0e0 18-Apr-2014 tedu <tedu@openbsd.org>

putting most of the braces in the right column is the very least we can do.


# 6f3a6cb1 17-Apr-2014 beck <beck@openbsd.org>

Change library to use intrinsic memory allocation functions instead of
OPENSSL_foo wrappers. This changes:
OPENSSL_malloc->malloc
OPENSSL_free->free
OPENSSL_relloc->realloc
OPENSSL_freeFunc->free


# ea4b21aa 15-Apr-2014 beck <beck@openbsd.org>

Part 1 of eliminating BIO_snprintf(). This fixes mechanical conversions
where the return value is ignored changing to (void) snprintf.
ok deraadt@


# 0a5d6ede 01-Oct-2010 djm <djm@openbsd.org>

resolve conflicts, fix local changes


# 4fcf65c5 06-Sep-2008 djm <djm@openbsd.org>

resolve conflicts


# 40d8aef3 29-Apr-2005 djm <djm@openbsd.org>

resolve conflicts


# 6278d030 08-Apr-2004 markus <markus@openbsd.org>

merge 0.9.7d


# c4dfe3be 30-Sep-2003 markus <markus@openbsd.org>

security fix from http://www.openssl.org/news/secadv_20030930.txt
see also http://cvs.openssl.org/chngview?cn=11471


# bbbc2354 05-Apr-2003 ho <ho@openbsd.org>

Trivial sprintf() -> snprintf() changes. ok deraadt@


# 1f9308f9 10-Sep-2002 markus <markus@openbsd.org>

merge openssl-0.9.7-beta3, tested on vax by miod@


# e9ae5628 05-Aug-2002 miod <miod@openbsd.org>

Better fixes from openssl cvs; from markus@


# e405b858 02-Aug-2002 markus <markus@openbsd.org>

typo; from openssl cvs


# 428837d1 30-Jul-2002 markus <markus@openbsd.org>

apply patches from OpenSSL Security Advisory [30 July 2002],
http://marc.theaimsgroup.com/?l=openssl-dev&m=102802395104110&w=2


# da347917 15-May-2002 beck <beck@openbsd.org>

OpenSSL 0.9.7 stable 2002 05 08 merge


# ce6fc090 22-Jun-2001 beck <beck@openbsd.org>

openssl-engine-0.9.6a merge


123