History log of /openbsd-src/lib/libcrypto/ocsp/ocsp_lib.c (Results 1 – 25 of 28)
Revision Date Author Comments
# de5c7f0b 28-Aug-2024 tb <tb@openbsd.org>

Add a comment to OCSP_id_issuer_cmp() to make blind use of X509_ALGOR_cmp()
less likely.

ok jsing


# a3eeb048 28-Aug-2024 tb <tb@openbsd.org>

Clean up and simplify OCSP_cert_id_new()

Use proper NULL checks, set hashAlgorithm with X509_ALGOR_set0_by_nid(),
and avoid a silly digerr label.

ok jsing


# a1e92f6b 08-Jul-2023 beck <beck@openbsd.org>

Hide symbols in cast, idea, and ocsp

ok tb@


# 0c07168c 22-Jan-2022 inoguchi <inoguchi@openbsd.org>

X509_GET_PUBKEY(3) return value check in libcrypto

ok beck@ tb@


# 9f44a700 07-Jan-2022 tb <tb@openbsd.org>

Add an essentially empty ocsp_local.h and include it in the files
that will need it in the upcoming bump.

discussed with jsing


# 9a659387 24-Aug-2018 tb <tb@openbsd.org>

Add const to two arguments of OCSP_cert_to_id()

tested in a bulk by sthen
ok jsing


# 14edca61 13-May-2018 tb <tb@openbsd.org>

Add const qualifier to the path and url{,s} parameters of
OCSP_crlID_new(3), OCSP_parse_url(3), OCSP_sendreq_bio(3),
OCSP_sendreq_new(3), and OCSP_url_svcloc_new(3).

tested in a bulk build by sthen

Add const qualifier to the path and url{,s} parameters of
OCSP_crlID_new(3), OCSP_parse_url(3), OCSP_sendreq_bio(3),
OCSP_sendreq_new(3), and OCSP_url_svcloc_new(3).

tested in a bulk build by sthen
ok jsing (as part of a larger diff)

show more ...


# 4394f12d 13-May-2018 tb <tb@openbsd.org>

Add const qualifier to the X509_NAME *, ASN1_BIT_STRING *, and
ASN1_INTEGER * arguments of OCSP_cert_id_new(3).

tested in a bulk build by sthen
ok jsing (as part of a larger diff)


# 5067ae9f 29-Jan-2017 beck <beck@openbsd.org>

Send the function codes from the error functions to the bit bucket,
as was done earlier in libssl. Thanks inoguchi@ for noticing
libssl had more reacharounds into this.
ok jsing@ inoguchi@


# 57887ff9 21-Dec-2016 beck <beck@openbsd.org>

rewrite OCSP_parse_url to be sligthly less nasty and not have one byte buffer overreads
helpful nitpicking and ok tb@ miod@


# 589a2d47 10-Feb-2015 jsing <jsing@openbsd.org>

Manually expand ASN1_ITEM_rptr macros that should have been expanded with
the IMPLEMENT_ASN1_DUP_FUNCTION macro.


# 5cfcf2a1 10-Feb-2015 jsing <jsing@openbsd.org>

Expand the IMPLEMENT_ASN1_DUP_FUNCTION macro so that the code is visible
and functions can be readily located.

Change has been scripted and the generated assembly only differs by changes
to line num

Expand the IMPLEMENT_ASN1_DUP_FUNCTION macro so that the code is visible
and functions can be readily located.

Change has been scripted and the generated assembly only differs by changes
to line numbers.

Discussed with beck@ miod@ tedu@

show more ...


# 03a67d2e 18-Oct-2014 jsing <jsing@openbsd.org>

None of these need to include <openssl/rand.h>


# 74a2cbdc 13-Jul-2014 beck <beck@openbsd.org>

The bell tolls for BUF_strdup - Start the migration to using
intrinsics. This is the easy ones, a few left to check one at
a time.
ok miod@ deraadt@


# b6ab114e 11-Jul-2014 jsing <jsing@openbsd.org>

Only import cryptlib.h in the four source files that actually need it.
Remove the openssl public includes from cryptlib.h and add a small number
of includes into the source files that actually need t

Only import cryptlib.h in the four source files that actually need it.
Remove the openssl public includes from cryptlib.h and add a small number
of includes into the source files that actually need them. While here,
also sort/group/tidy the includes.

ok beck@ miod@

show more ...


# 8cf4d6a6 10-Jul-2014 jsing <jsing@openbsd.org>

Explicitly include <openssl/opensslconf.h> in every file that references
an OPENSSL_NO_* define. This avoids relying on something else pulling it
in for us, plus it fixes several cases where the #ifn

Explicitly include <openssl/opensslconf.h> in every file that references
an OPENSSL_NO_* define. This avoids relying on something else pulling it
in for us, plus it fixes several cases where the #ifndef OPENSSL_NO_XYZ is
never going to do anything, since OPENSSL_NO_XYZ will never defined, due
to the fact that opensslconf.h has not been included.

This also includes some miscellaneous sorting/tidying of headers.

show more ...


# 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@


# 880d7591 09-Jul-2014 tedu <tedu@openbsd.org>

reset host, port, path to null after freeing so the caller doesn't
accidentally free them again. actually a bug in the caller and (hey hey)
apps/ocsp.c has exactly that bug, but it's easier/safer to

reset host, port, path to null after freeing so the caller doesn't
accidentally free them again. actually a bug in the caller and (hey hey)
apps/ocsp.c has exactly that bug, but it's easier/safer to fix here.

show more ...


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

tags as requested by miod and tedu


# bc775f6c 18-May-2014 jsing <jsing@openbsd.org>

More KNF.


# 2d2941d0 17-May-2014 miod <miod@openbsd.org>

KNF


# 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


# 5cdd308e 13-Oct-2012 djm <djm@openbsd.org>

resolve conflicts


# c32db552 03-Nov-2011 djm <djm@openbsd.org>

openssl-1.0.0e: resolve conflicts


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

resolve conflicts, fix local changes


12