aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/ocsp/ocsp_ht.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix gcc-7 warnings.Bernd Edlinger2017-05-111-0/+3
| | | | | | | | - Mostly missing fall thru comments - And uninitialized value used in sslapitest.c Reviewed-by: Rich Salz <rsalz@openssl.org> Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/3440)
* Copyright consolidation 09/10Rich Salz2016-05-171-54/+5
| | | | Reviewed-by: Richard Levitte <levitte@openssl.org>
* Remove /* foo.c */ commentsRich Salz2016-01-261-1/+0
| | | | | | | | | | | | This was done by the following find . -name '*.[ch]' | /tmp/pl where /tmp/pl is the following three-line script: print unless $. == 1 && m@/\* .*\.[ch] \*/@; close ARGV if eof; # Close file to reset $. And then some hand-editing of other files. Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
* Continue standardising malloc style for libcryptoMatt Caswell2015-11-091-4/+4
| | | | | | | Continuing from previous commit ensure our style is consistent for malloc return checks. Reviewed-by: Kurt Roeckx <kurt@openssl.org>
* remove 0 assignments.Rich Salz2015-09-031-2/+1
| | | | | | | After openssl_zalloc, cleanup more "set to 0/NULL" assignments. Many are from github feedback. Reviewed-by: Tim Hudson <tjh@openssl.org>
* Use safer sizeof variant in mallocRich Salz2015-05-041-2/+2
| | | | | | | | | | | | | For a local variable: TYPE *p; Allocations like this are "risky": p = OPENSSL_malloc(sizeof(TYPE)); if the type of p changes, and the malloc call isn't updated, you could get memory corruption. Instead do this: p = OPENSSL_malloc(sizeof(*p)); Also fixed a few memset() calls that I noticed while doing this. Reviewed-by: Richard Levitte <levitte@openssl.org>
* free null cleanup finaleRich Salz2015-05-011-2/+1
| | | | | | Don't check for NULL before calling OPENSSL_free Reviewed-by: Richard Levitte <levitte@openssl.org>
* free cleanup 12Rich Salz2015-04-301-0/+2
| | | | | | | | | Don't check for NULL before calling free function. This gets: NAME_CONSTRAINTS_free GENERAL_SUBTREE_free ECDSA_METHOD_free JPAKE_CTX_free OCSP_REQ_CTX_free SCT_free SRP_VBASE_free SRP_gN_free SRP_user_pwd_free TXT_DB_free Reviewed-by: Richard Levitte <levitte@openssl.org>
* free NULL cleanupRich Salz2015-03-251-2/+1
| | | | | | | This commit handles BIO_ACCEPT_free BIO_CB_FREE BIO_CONNECT_free BIO_free BIO_free_all BIO_vfree Reviewed-by: Matt Caswell <matt@openssl.org>
* clang on Linux x86_64 complains about unreachable code.Richard Levitte2015-01-291-2/+0
| | | | Reviewed-by: Rich Salz <rsalz@openssl.org>
* Run util/openssl-format-source -v -c .Matt Caswell2015-01-221-460/+427
| | | | Reviewed-by: Tim Hudson <tjh@openssl.org>
* RT3548: Remvoe unsupported platformsRich Salz2014-12-211-3/+0
| | | | | | This commit removes SunOS (a sentimental favorite of mine). Reviewed-by: Richard Levitte <levitte@openssl.org>
* Fix null pointer errors.Dr. Stephen Henson2014-06-101-0/+3
| | | | PR#3394
* Constification.Ben Laurie2013-10-071-3/+3
|
* Generalise OCSP I/O functions to support dowloading of other ASN1Dr. Stephen Henson2012-11-281-42/+123
| | | | structures using HTTP. Add wrapper function to handle CRL download.
* We can't always read 6 bytes in an OCSP response: fix so error statusesDr. Stephen Henson2010-10-061-3/+9
| | | | are read correctly for non-blocking I/O.
* PR: 2064, 728Dr. Stephen Henson2009-09-301-15/+41
| | | | | | Submitted by: steve@openssl.org Add support for custom headers in OCSP requests.
* This _WIN32-specific patch makes it possible to "wrap" OpenSSL in anotherAndy Polyakov2008-12-221-1/+2
| | | | | | | .DLL, in particular static build. The issue has been discussed in RT#1230 and later on openssl-dev, and mutually exclusive approaches were suggested. This completes compromise solution suggested in RT#1230. PR: 1230
* Update obsolete email address...Dr. Stephen Henson2008-11-051-1/+1
|
* Bunch of constifications.Andy Polyakov2007-10-131-1/+1
|
* Fix warnings.Dr. Stephen Henson2007-08-121-1/+1
|
* WIN32 fixes signed/unsigned issues and slightly socket semantics.Dr. Stephen Henson2006-07-171-3/+2
|
* Fix various error codes to match functions.Dr. Stephen Henson2006-07-171-4/+4
|
* New non-blocking OCSP functionality.Dr. Stephen Henson2006-07-171-85/+384
|
* Don't give an error if response reason absent in OCSP HTTP.Dr. Stephen Henson2003-03-141-4/+10
|
* Correct support for SunOS 4.1.3_U1.Richard Levitte2002-11-131-0/+3
| | | | PR: 227
* Security fixes brought forward from 0.9.7.Ben Laurie2002-11-131-1/+1
|
* isspace must be used only on *unsigned* charsBodo Möller2001-01-121-6/+6
|
* Fix typo in OCSP ASN1 module, this causedDr. Stephen Henson2001-01-111-2/+2
| | | | | | | | | | | invalid format in OCSP request signatures. Add spaces to OCSP HTTP header. Change X509_NAME_set() there's no reason why it should return an error if the destination points to NULL... though it should if the destination is NULL.
* Update OCSP API.Dr. Stephen Henson2001-01-041-0/+164
Remove extensions argument from various functions because it is not needed with the new extension code. New function OCSP_cert_to_id() to convert a pair of certificates into an OCSP_CERTID. New simple OCSP HTTP function. This is rather primitive but just about adequate to send OCSP requests and parse the response. Fix typo in CRL distribution points extension. Fix ASN1 code so it adds a final null to constructed strings.