aboutsummaryrefslogtreecommitdiff
path: root/crypto/stack/safestack.h
AgeCommit message (Collapse)AuthorFilesLines
2015-03-31Stop symlinking, move files to intended directoryRichard Levitte1-2567/+0
Rather than making include/openssl/foo.h a symlink to crypto/foo/foo.h, this change moves the file to include/openssl/foo.h once and for all. Likewise, move crypto/foo/footest.c to test/footest.c, instead of symlinking it there. Originally-by: Geoff Thorpe <geoff@openssl.org> Reviewed-by: Rich Salz <rsalz@openssl.org>
2015-03-12Remove obsolete declarations.Dr. Stephen Henson1-231/+0
Remove DECLARE_ASN1_SET_OF and DECLARE_PKCS12_STACK_OF these haven't been used internally in OpenSSL for some time. Reviewed-by: Rich Salz <rsalz@openssl.org>
2015-03-05Make STACK_OF opaque.Dr. Stephen Henson1-10/+2
Reviewed-by: Matt Caswell <matt@openssl.org>
2015-02-06util/mkstack.pl now generates entire safestack.hRich Salz1-15/+148
The mkstack.pl script now generates the entire safestack.h file. It generates output that follows the coding style. Also, removed all instances of the obsolete IMPLEMENT_STACK_OF macro. Reviewed-by: Andy Polyakov <appro@openssl.org>
2015-01-22Run util/openssl-format-source -v -c .Matt Caswell1-2645/+2507
Reviewed-by: Tim Hudson <tjh@openssl.org>
2015-01-22indent has problems with comments that are on the right hand side of a line.Matt Caswell1-1/+2
Sometimes it fails to format them very well, and sometimes it corrupts them! This commit moves some particularly problematic ones. Reviewed-by: Tim Hudson <tjh@openssl.org>
2014-12-30mark all block comments that need format preserving so thatTim Hudson1-2/+3
indent will not alter them when reformatting comments Reviewed-by: Rich Salz <rsalz@openssl.org> Reviewed-by: Matt Caswell <matt@openssl.org>
2014-08-27RT2308: Add extern "C" { ... } wrapperRich Salz1-0/+8
Add the wrapper to all public header files (Configure generates one). Don't bother for those that are just lists of #define's that do renaming. Reviewed-by: Tim Hudson <tjh@openssl.org>
2014-06-22Implement sk_deep_copy.Viktor Dukhovni1-6/+100
2014-06-10Separate the SCT List parser from the SCT List viewerRob Stradling1-0/+22
2013-07-17CMS support for key agreeement recipient info.Dr. Stephen Henson1-0/+22
Add hooks to support key agreement recipient info type (KARI) using algorithm specific code in the relevant public key ASN1 method.
2011-11-15Add DTLS-SRTP.Ben Laurie1-0/+22
2011-03-23make update (1.1.0-dev)Richard Levitte1-3/+9
This meant alarger renumbering in util/libeay.num due to symbols appearing in 1.0.0-stable and 1.0.1-stable. However, since there's been no release on this branch yet, it should be harmless.
2011-03-12Add SRP support.Ben Laurie1-0/+60
2011-02-03Assorted bugfixes:Bodo Möller1-30/+30
- safestack macro changes for C++ were incomplete - RLE decompression boundary case - SSL 2.0 key arg length check Submitted by: Google (Adam Langley, Neel Mehta, Bodo Moeller)
2010-12-02PR: 2386Dr. Stephen Henson1-1/+2
Submitted by: Stefan Birrer <stefan.birrer@adnovum.ch> Reviewed by: steve Correct SKM_ASN1_SET_OF_d2i macro.
2010-05-29PR: 2278Dr. Stephen Henson1-1/+1
Submitted By: Mattias Ellert <mattias.ellert@fysast.uu.se> Fix type checking macro SKM_ASN1_SET_OF_i2d
2010-02-07make updateDr. Stephen Henson1-25/+25
2010-01-15make updateDr. Stephen Henson1-25/+25
2009-07-27Update from 1.0.0-stable.Dr. Stephen Henson1-24/+24
2009-07-27Update from 1.0.0-stableDr. Stephen Henson1-84/+84
2009-04-28Update from 1.0.0-stable.Dr. Stephen Henson1-21/+29
2009-04-23Merge from 1.0.0-stable branch.Dr. Stephen Henson1-83/+45
2009-04-03Merge from 1.0.0-stable branch.Dr. Stephen Henson1-23/+0
2008-10-14Type-safe OBJ_bsearch_ex.Ben Laurie1-1/+1
2008-06-04Remove old non-safestack code.Dr. Stephen Henson1-66/+0
2008-06-04More type-checking.Ben Laurie1-86/+422
2008-05-27Avoid warning about empty structures and always define CHECKED_PTR_OFDr. Stephen Henson1-2/+2
2008-05-26LHASH revamp. make depend.Ben Laurie1-0/+234
2008-05-09Add missing cast.Dr. Stephen Henson1-1/+1
2008-03-26Signed Receipt Request utility functions and option on CMS utility toDr. Stephen Henson1-0/+22
print out receipt requests.
2008-03-12And so it begins...Dr. Stephen Henson1-0/+88
Initial support for CMS. Add zlib compression BIO. Add AES key wrap implementation. Generalize S/MIME MIME code to support CMS and/or PKCS7.
2007-09-26Support for certificate status TLS extension.Dr. Stephen Henson1-0/+22
2007-09-07Change safestack reimplementation to match 0.9.8.Dr. Stephen Henson1-119/+49
Fix additional gcc 4.2 value not used warnings.
2007-07-30Make preprocessor logic more fail-safe.Andy Polyakov1-1/+1
2007-07-30As for inline vs. __inline. The original code implies that most compilersAndy Polyakov1-5/+8
understand inline, while WIN32 ones insist on __inline. Well, there are other compilers that insist on __inline. At the same time it turned out that most compilers understand both __inline and inline. I could find only one that doesn't understand __inline, Sun C. In other words it seems that __inline as preferred choice provides better coverage...
2007-06-23Inline function declarations have to be prototypes.Ben Laurie1-1/+1
2007-06-08WIN32 fixes.Dr. Stephen Henson1-3/+7
2007-06-04Back out safestack.h change for now: seems to break some things.Dr. Stephen Henson1-0/+1936
2007-06-04Avoid use of function pointer casts in pem library. Modify safestack toDr. Stephen Henson1-1934/+0
always use inline functions.
2007-04-23Add SEED encryption algorithm.Bodo Möller1-2/+0
PR: 1503 Submitted by: KISA Reviewed by: Bodo Moeller
2006-12-06Fix change to OPENSSL_NO_RFC3779Dr. Stephen Henson1-4/+2
2006-11-27Add RFC 3779 support.Ben Laurie1-0/+70
2006-11-16Initial, incomplete support for typesafe macros without using functionDr. Stephen Henson1-1/+66
casts.
2006-09-17Overhaul of by_dir code to handle dynamic loading of CRLs.Dr. Stephen Henson1-0/+44
2006-02-12RFC 3161 compliant time stamp request creation, response generationUlf Möller1-0/+93
and response verification. Submitted by: Zoltan Glozik <zglozik@opentsa.org> Reviewed by: Ulf Moeller
2005-05-14openssl_fcast should always be defined, not just with DEBUG_SAFESTACKDr. Stephen Henson1-2/+2
2005-05-12Some C compilers produce warnings or compilation errors if an attemptDr. Stephen Henson1-24/+27
is made to directly cast a function of one type to what it considers and incompatible type. In particular gcc 3.4.2. Add new openssl_fcast macro to place functions into a form where the compiler will allow them to be cast. The current version achives this by casting to: void function(void).
2005-04-20Make sure id2_func is properly cast as well...Richard Levitte1-2/+2
2005-04-20Avoid compiler complaint about mismatched function signaturesRichard Levitte1-2/+2
(void * != char *)