summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/asn1/asn_mime.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Make internal header file names consistenttb2022-11-261-3/+3
| | | | | | | | | | | | | | | | 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
* Indent goto labels for diffability.jsing2021-12-251-5/+5
| | | | Whitespace change only.
* Include evp_locl.h where it will be needed once most structs fromtb2021-12-121-1/+2
| | | | | | evp.h will be moved to evp_locl.h in an upcoming bump. ok inoguchi
* Send the function codes from the error functions to the bit bucket,beck2017-01-291-27/+19
| | | | | | as was done earlier in libssl. Thanks inoguchi@ for noticing libssl had more reacharounds into this. ok jsing@ inoguchi@
* Remove IMPLEMENT_STACK_OF noops.jsing2015-02-221-2/+1
|
* Remove more IMPLEMENT_STACK_OF noops that have been hiding for the lastjsing2015-02-101-2/+1
| | | | 15 years.
* Check memory allocation results, as well as stack pushes.miod2015-02-081-9/+34
| | | | | | Also fix a memory leak in one of the error paths of SMIME_read_ASN1(), spotted by doug@ tweaks&ok doug@ jsing@
* Use arc4random_buf() instead of RAND_bytes() or RAND_pseudo_bytes().jsing2014-10-221-3/+3
| | | | | | | | arc4random_buf() is guaranteed to always succeed - it is worth noting that a number of the replaced function calls were already missing return value checks. ok deraadt@
* The bell tolls for BUF_strdup - Start the migration to usingbeck2014-07-131-5/+5
| | | | | | intrinsics. This is the easy ones, a few left to check one at a time. ok miod@ deraadt@
* More memory leaks and unchecked allocations; OpenSSL PR #3403 via OpenSSLmiod2014-07-111-1/+3
| | | | trunk. (note we had already fixed some of the issues in that PR independently)
* Only import cryptlib.h in the four source files that actually need it.jsing2014-07-111-4/+5
| | | | | | | | 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@
* Stop including standard headers via cryptlib.h - pull in the headers thatjsing2014-07-101-2/+4
| | | | | | are needed in the source files that actually require them. ok beck@ miod@
* tags as requested by miod and teduderaadt2014-06-121-1/+1
|
* There is no need for is{upper,lower}() tests before to{lower,uppper}(),deraadt2014-06-011-23/+6
| | | | | since all other characters are mapped through transparently. ok jsing
* no need for null check before free. from Brendan MacDonelltedu2014-05-301-8/+4
|
* remove unused shit. from Alexander Schrijvertedu2014-05-251-1/+1
|
* Fix memory leaks upon failure.miod2014-05-151-19/+23
| | | | ok beck@
* Replace all use of ERR_add_error_data with ERR_asprintf_error_data.beck2014-04-261-3/+3
| | | | | | | | 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@
* improve realloc/calloc/malloc patterns; ok guentherderaadt2014-04-211-2/+2
|
* More KNF.jsing2014-04-191-263/+334
|
* lob a few more knf grenades in here to soften things up.tedu2014-04-181-38/+18
|
* putting most of the braces in the right column is the very least we can do.tedu2014-04-181-93/+93
|
* fix some more leaks, mostly suggestions from miodjsg2014-04-171-1/+3
| | | | ok miod@
* fix some of the leaksjsg2014-04-171-2/+6
| | | | ok miod@ looks good deraadt@
* Change library to use intrinsic memory allocation functions instead ofbeck2014-04-171-9/+9
| | | | | | | | OPENSSL_foo wrappers. This changes: OPENSSL_malloc->malloc OPENSSL_free->free OPENSSL_relloc->realloc OPENSSL_freeFunc->free
* resolve conflictsdjm2012-10-131-7/+16
|
* resolve conflicts, fix local changesdjm2010-10-011-10/+78
|
* resolve conflictsdjm2009-04-061-2/+0
|
* update to openssl-0.9.8i; tested by several, especially krw@djm2009-01-051-0/+2
|
* import of OpenSSL 0.9.8hdjm2008-09-061-0/+874