summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/asn1/tasn_new.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Make internal header file names consistenttb2022-11-261-2/+2
| | | | | | | | | | | | | | | | Libcrypto currently has a mess of *_lcl.h, *_locl.h, and *_local.h names used for internal headers. Move all these headers we inherited from OpenSSL to *_local.h, reserving the name *_internal.h for our own code. Similarly, move dtls_locl.h and ssl_locl.h to dtls_local and ssl_local.h. constant_time_locl.h is moved to constant_time.h since it's special. Adjust all .c files in libcrypto, libssl and regress. The diff is mechanical with the exception of tls13_quic.c, where #include <ssl_locl.h> was fixed manually. discussed with jsing, no objection bcook
* Remove ASN.1 combining.jsing2022-05-101-21/+14
| | | | | | | | This was an option used to combine ASN.1 into a single structure, which was only ever used by DSAPublicKey and X509_ATTRIBUTE. Since they no longer use it we can mop this up and simplify all of the related code. ok tb@
* A few more files need asn1_locl.h.tb2022-01-071-1/+3
|
* Indent goto labels for diffability.jsing2021-12-251-4/+4
| | | | Whitespace change only.
* unifdef -U CRYPTO_MDEBUG -m tasn_new.cjsing2021-12-151-33/+1
|
* Require all ASN1_PRIMITIVE_FUNCS functions to be provided.jsing2019-04-011-5/+10
| | | | | | | | | | | | If an ASN.1 item provides its own ASN1_PRIMITIVE_FUNCS functions, require all functions to be provided (currently excluding prim_clear). This avoids situations such as having a custom allocator that returns a specific struct but then is then printed using the default primative print functions, which interpret the memory as a different struct. Found by oss-fuzz, fixes issue #13799. ok beck@, tb@
* Send the function codes from the error functions to the bit bucket,beck2017-01-291-4/+4
| | | | | | as was done earlier in libssl. Thanks inoguchi@ for noticing libssl had more reacharounds into this. ok jsing@ inoguchi@
* Expand ASN1_ITEM_rptr and ASN1_ITEM_ptr macros - no change in generatedjsing2016-12-301-3/+3
| | | | assembly.
* Use V_ASN1_UNDEF instead of -1.miod2015-07-201-7/+7
| | | | | | | Make sure ASN1_primitive_new() will return NULL in *pval in all error situations. ok bcook@ doug@
* Remove IMPLEMENT_COMPAT_ASN1() and related support code. Nothing uses it inmiod2015-02-141-12/+1
| | | | | | libcrypto/libssl, and nothing seems to use it in the wild, apart from embedded copies of OpenSSL. ok jsing@
* Possible NULL pointer dereferences. Coverity CID 21719, 21732.miod2015-02-141-2/+3
| | | | ok doug@ jsing@
* Spell NULL correctly, be explicit with NULL checks and it is also easier tojsing2015-02-141-5/+3
| | | | | | initialise during declaration and drop the else statement. ok doug@ miod@
* tags as requested by miod and teduderaadt2014-06-121-1/+1
|
* improve realloc/calloc/malloc patterns; ok guentherderaadt2014-04-211-4/+2
|
* More KNF.jsing2014-04-181-40/+50
|
* lob a few more knf grenades in here to soften things up.tedu2014-04-181-56/+38
|
* putting most of the braces in the right column is the very least we can do.tedu2014-04-181-50/+50
|
* Change library to use intrinsic memory allocation functions instead ofbeck2014-04-171-3/+3
| | | | | | | | OPENSSL_foo wrappers. This changes: OPENSSL_malloc->malloc OPENSSL_free->free OPENSSL_relloc->realloc OPENSSL_freeFunc->free
* resolve conflicts, fix local changesdjm2010-10-011-11/+12
|
* resolve conflictsdjm2009-01-091-1/+1
|
* resolve conflictsdjm2008-09-061-95/+139
|
* merge 0.9.7b with local changes; crank majors for libssl/libcryptomarkus2003-05-121-1/+4
|
* OpenSSL 0.9.7 stable 2002 05 08 mergebeck2002-05-151-0/+348