Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Make asn1_ex_i2c() static. ok jsing@ | miod | 2015-02-14 | 1 | -2/+4 | |
| | ||||||
* | Memory leak in `should not happen' condition; Coverity CID 78889. | miod | 2015-02-14 | 1 | -4/+4 | |
| | | | | ok doug@ jsing@ | |||||
* | Memory leak upon error; Coverity CID 78857 | miod | 2015-02-14 | 1 | -1/+4 | |
| | | | | | ok doug@ jsing@ CVy: Committing in . | |||||
* | Check i2d_name_canon() for failure (negative return). Coverity CID 78888. | miod | 2015-02-14 | 1 | -6/+8 | |
| | | | | ok doug@ jsing@ | |||||
* | Possible NULL pointer dereferences. Coverity CID 21719, 21732. | miod | 2015-02-14 | 2 | -3/+7 | |
| | | | | ok doug@ jsing@ | |||||
* | Potential NULL dereference in the error path; Coverity CID 21720 | miod | 2015-02-14 | 1 | -2/+2 | |
| | | | | ok doug@ jsing@ | |||||
* | Coverity CID 21733 (unchecked allocation), 78823 (leak on error). | miod | 2015-02-14 | 1 | -1/+6 | |
| | | | | ok doug@ jsing@ | |||||
* | Check for allocation error in RSA_eay_mod_exp(). Coverity CID 25217. | miod | 2015-02-14 | 2 | -2/+7 | |
| | | | | ok jsing@ | |||||
* | Memory leaks upon error. Coverity CID 78874. | miod | 2015-02-14 | 1 | -10/+10 | |
| | | | | ok jsing@ | |||||
* | Fix tests that got incorrectly inverted with the BN_CTX_get() return check | jsing | 2015-02-14 | 1 | -5/+5 | |
| | | | | | | diff. Spotted by miod@ | |||||
* | Expand ASN1_CHOICE*, ASN1_SEQUENCE* and associated macros, making the | jsing | 2015-02-14 | 3 | -60/+416 | |
| | | | | | | | | | data structures visible and easier to review, without having to wade through layers and layers of asn1t.h macros. Change has been scripted and there is no change to the generated assembly. Discussed with beck@ miod@ tedu@ | |||||
* | Expand ASN1_CHOICE*, ASN1_SEQUENCE* and associated macros, making the | jsing | 2015-02-14 | 1 | -9/+53 | |
| | | | | | | | | | data structures visible and easier to review, without having to wade through layers and layers of asn1t.h macros. Change has been scripted and there is no change to the generated assembly. Discussed with beck@ miod@ tedu@ | |||||
* | Attempt to correctly free temporary storage upon error. With help from | miod | 2015-02-14 | 1 | -15/+18 | |
| | | | | | doug@ and jsing@, ok doug@ three months ago (sigh... I sometimes suck bigtime at commiting bugfixes) | |||||
* | second batch of perlpod(1) to mdoc(7) conversion | schwarze | 2015-02-14 | 12 | -4/+1381 | |
| | ||||||
* | While doing development work on pod2mdoc(1), | schwarze | 2015-02-14 | 6 | -3/+773 | |
| | | | | | | profit of the occasion to start the conversion of LibreSSL libcrypto manuals from perlpod(1) to mdoc(7). miod@ jmc@ bentley@ agreed to the process when shown this patch. | |||||
* | Spell NULL correctly, be explicit with NULL checks and it is also easier to | jsing | 2015-02-14 | 2 | -10/+6 | |
| | | | | | | initialise during declaration and drop the else statement. ok doug@ miod@ | |||||
* | Try and fix a bunch of memory leaks upon error; | miod | 2015-02-14 | 3 | -12/+33 | |
| | | | | ok tedu@ about 7 months ago and I was sitting upon this diff for no reason | |||||
* | Consistently check the return value from BN_CTX_get() on assignment. | jsing | 2015-02-14 | 4 | -42/+44 | |
| | | | | | | | This is the same as the previous larger commit, however it would seem the GOST part got missed. ok beck@ doug@ | |||||
* | Don't leak memory on errors - fixes coverity issues 105353 105253 | beck | 2015-02-13 | 1 | -4/+9 | |
| | | | | ok guenther@ jsg@ | |||||
* | fix leaking of bn, coverity issue 105351 | beck | 2015-02-13 | 1 | -1/+2 | |
| | | | | ok doug@ | |||||
* | prevent a crash with openssl asn1parse -genstr FORMAT | jsg | 2015-02-12 | 1 | -1/+5 | |
| | | | | | | aka ASN1_generate_nconf("FORMAT", NULL) ok krw@ beck@ jsing@ | |||||
* | If you do not support POSIX I/O then you're not tall enough to ride... | jsing | 2015-02-12 | 4 | -23/+4 | |
| | | | | ok tedu@ | |||||
* | Guenther has plans for OPENSSL_NO_CMS, so revert this for the moment. | beck | 2015-02-11 | 9 | -12/+123 | |
| | ||||||
* | Remove initialisers with default values from the ASN1 data structures. | jsing | 2015-02-11 | 17 | -188/+23 | |
| | | | | | Minor changes in generated assembly due to the compiler swapping from .quad 0/.long 0 to .zero, along with changes due to line numbering. | |||||
* | get rid of OPENSSL_NO_CMS code we do not use. | beck | 2015-02-11 | 9 | -123/+12 | |
| | | | | ok miod@ | |||||
* | get rid of OPENSSL_NO_COMP code we don't use. | beck | 2015-02-11 | 2 | -11/+2 | |
| | | | | jajaja miod@ | |||||
* | Expand most of the ASN1_SEQUENCE* and associated macros, making the data | jsing | 2015-02-11 | 17 | -146/+950 | |
| | | | | | | | | | | structures visible and easier to review, without having to wade through layers and layers of asn1t.h macros. Change has been scripted and the generated assembly only differs by changes to line numbers. Discussed with beck@ miod@ tedu@ | |||||
* | Enable building with -DOPENSSL_NO_DEPRECATED. | doug | 2015-02-11 | 29 | -29/+68 | |
| | | | | | | | | | | | | | | | If you didn't enable deprecated code, there were missing err.h and bn.h includes. This commit allows building with or without deprecated code. This was not derived from an OpenSSL commit. However, they recently enabled OPENSSL_NO_DEPRECATED in git and fixed these header problems in a different way. Verified with clang that this only changes line numbers in the generated asm. ok miod@ | |||||
* | More unifdef OPENSSL_NO_RFC3779 that got missed last time around. | jsing | 2015-02-11 | 2 | -16/+2 | |
| | | | | Spotted by beck@ | |||||
* | unifdef OPENSSL_NO_RFC3779 - this is currently disabled and unlikely to | jsing | 2015-02-10 | 7 | -2706/+5 | |
| | | | | | | be enabled, mostly since people use SANs instead. ok beck@ guenther@ | |||||
* | Remove old interesting but not useful content. | jsing | 2015-02-10 | 1 | -278/+0 | |
| | | | | ok miod@ | |||||
* | unifdef OPENSSL_NO_RC5 | jsing | 2015-02-10 | 3 | -29/+3 | |
| | ||||||
* | Remove RC5 code - this is not currently enabled and is not likely to ever | jsing | 2015-02-10 | 9 | -1087/+2 | |
| | | | | | | | | be enabled. Removes one symbol from libcrypto, however there is no ABI change. ok beck@ miod@ tedu@ | |||||
* | Remove more IMPLEMENT_STACK_OF noops that have been hiding for the last | jsing | 2015-02-10 | 13 | -39/+14 | |
| | | | | 15 years. | |||||
* | Remove crypto/store - part of which is "currently highly experimental". | jsing | 2015-02-10 | 8 | -3511/+1 | |
| | | | | | | | This code is not compiled in and OPENSSL_NO_STORE is already defined in opensslfeatures.h. No symbol removal for libcrypto. ok beck@ | |||||
* | EVP_BytesToKey(): return through the error path (which cleans things up) | miod | 2015-02-10 | 1 | -3/+3 | |
| | | | | if EVP_DigestInit_ex() fails. | |||||
* | Replace assert() and OPENSSL_assert() calls with proper error return paths. | miod | 2015-02-10 | 13 | -51/+141 | |
| | | | | Careful review, feedback & ok doug@ jsing@ | |||||
* | Remove default value initialisers for ASN1_ITEM. Minor changes to generated | jsing | 2015-02-10 | 1 | -93/+11 | |
| | | | | assembly due to switches between .quad and .zero for structs. | |||||
* | Remove unnecessary include of assert.h | miod | 2015-02-10 | 5 | -10/+5 | |
| | ||||||
* | Remove assert() or OPENSSL_assert() of pointers being non-NULL. The policy | miod | 2015-02-10 | 16 | -85/+17 | |
| | | | | | for libraries in OpenBSD is to deliberately let NULL pointers cause a SIGSEGV. ok doug@ jsing@ | |||||
* | Expand IMPLEMENT_ASN1_TYPE macros - no change to generated assembly. | jsing | 2015-02-10 | 1 | -23/+221 | |
| | ||||||
* | The IMPLEMENT_STACK_OF and IMPLEMENT_ASN1_SET_OF macros were turned into | jsing | 2015-02-10 | 10 | -47/+10 | |
| | | | | | noops around 15 years ago. Remove multiple occurances of both that still exist in the code today. | |||||
* | Place the IMPLEMENT_ASN1_.*FUNCTION.* macros under an #ifndef | jsing | 2015-02-10 | 1 | -1/+4 | |
| | | | | LIBRESSL_INTERNAL - we do not need them any more. | |||||
* | Expand IMPLEMENT_ASN1_NDEF_FUNCTION and IMPLEMENT_ASN1_PRINT_FUNCTION | jsing | 2015-02-10 | 1 | -3/+14 | |
| | | | | | | | | macros so that the code is visible and functions can be readily located. Change has been scripted and there is no change to the generated assembly. Discussed with beck@ miod@ tedu@ | |||||
* | Expand IMPLEMENT_ASN1_ENCODE_FUNCTIONS_fname macros that got missed. | jsing | 2015-02-10 | 2 | -4/+28 | |
| | ||||||
* | Expand the IMPLEMENT_ASN1_ALLOC_FUNCTIONS macro so that the code is visible | jsing | 2015-02-10 | 4 | -11/+88 | |
| | | | | | | | | | 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@ | |||||
* | Manually expand ASN1_ITEM_rptr macros that should have been expanded with | jsing | 2015-02-10 | 10 | -29/+29 | |
| | | | | the IMPLEMENT_ASN1_DUP_FUNCTION macro. | |||||
* | Expand the -IMPLEMENT_ASN1_ENCODE_FUNCTIONS_(const_)?fname macros so that | jsing | 2015-02-10 | 4 | -13/+121 | |
| | | | | | | | | the code is visible and functions can be readily located. Change has been scripted and there is no change to the generated assembly. Discussed with beck@ miod@ tedu@ | |||||
* | Expand the IMPLEMENT_ASN1_DUP_FUNCTION macro so that the code is visible | jsing | 2015-02-10 | 10 | -29/+124 | |
| | | | | | | | | | 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@ | |||||
* | Expand the IMPLEMENT_ASN1_FUNCTIONS_{const,fname,name} macros so that the | jsing | 2015-02-10 | 5 | -23/+455 | |
| | | | | | | | | | 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@ |