#
0f777b12 |
| 10-Sep-2015 |
jsing <jsing@openbsd.org> |
Correct spelling of OPENSSL_cleanse.
ok miod@
|
#
a6cc4a65 |
| 13-Jun-2015 |
doug <doug@openbsd.org> |
Fix bad indenting in LibreSSL.
jsg@ noticed that some of the lines in libssl and libcrypto are not indented properly. At a quick glance, it looks like it has a different control flow than it really
Fix bad indenting in LibreSSL.
jsg@ noticed that some of the lines in libssl and libcrypto are not indented properly. At a quick glance, it looks like it has a different control flow than it really does. I checked the history in our tree and in OpenSSL to make sure these were simple mistakes.
ok miod@ jsing@
show more ...
|
#
0726adaa |
| 14-Feb-2015 |
miod <miod@openbsd.org> |
Check for allocation error in RSA_eay_mod_exp(). Coverity CID 25217. ok jsing@
|
#
aa389b8c |
| 09-Feb-2015 |
jsing <jsing@openbsd.org> |
BN_CTX_get() can fail - consistently check its return value.
There are currently cases where the return from each call is checked, the return from only the last call is checked and cases where it is
BN_CTX_get() can fail - consistently check its return value.
There are currently cases where the return from each call is checked, the return from only the last call is checked and cases where it is not checked at all (including code in bn, ec and engine).
Checking the last return value is valid as once the function fails it will continue to return NULL. However, in order to be consistent check each call with the same idiom. This makes it easy to verify.
Note there are still a handful of cases that do not follow the idiom - these will be handled separately.
ok beck@ doug@
show more ...
|
#
03a67d2e |
| 18-Oct-2014 |
jsing <jsing@openbsd.org> |
None of these need to include <openssl/rand.h>
|
#
a5811aa0 |
| 11-Jul-2014 |
miod <miod@openbsd.org> |
In RSA_eay_private_encrypt(), correctly return the smaller BN; OpenSSL PR #3418 via OpenSSL trunk
|
#
b6ab114e |
| 11-Jul-2014 |
jsing <jsing@openbsd.org> |
Only import cryptlib.h in the four source files that actually need it. Remove the openssl public includes from cryptlib.h and add a small number of includes into the source files that actually need t
Only import cryptlib.h in the four source files that actually need it. 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@
show more ...
|
#
8cf4d6a6 |
| 10-Jul-2014 |
jsing <jsing@openbsd.org> |
Explicitly include <openssl/opensslconf.h> in every file that references an OPENSSL_NO_* define. This avoids relying on something else pulling it in for us, plus it fixes several cases where the #ifn
Explicitly include <openssl/opensslconf.h> in every file that references an OPENSSL_NO_* define. This avoids relying on something else pulling it in for us, plus it fixes several cases where the #ifndef OPENSSL_NO_XYZ is never going to do anything, since OPENSSL_NO_XYZ will never defined, due to the fact that opensslconf.h has not been included.
This also includes some miscellaneous sorting/tidying of headers.
show more ...
|
#
323e3475 |
| 10-Jul-2014 |
jsing <jsing@openbsd.org> |
BN_free, BN_clear_free, BN_CTX_free, BN_BLINDING_free and BN_MONT_CTX_free all have implicit NULL checks, so we do not need them here.
ok miod@
|
#
14a995a9 |
| 09-Jul-2014 |
jsing <jsing@openbsd.org> |
More KNF.
|
#
0c0a30ad |
| 09-Jul-2014 |
miod <miod@openbsd.org> |
RSA_NULL used to be a compile option allowing the RSA interfaces to be compiled-in, with nonfunctional code, to be able to cope with the RSA patent.
However, we don't use this option, and the RSA pa
RSA_NULL used to be a compile option allowing the RSA interfaces to be compiled-in, with nonfunctional code, to be able to cope with the RSA patent.
However, we don't use this option, and the RSA patent has expired more than 10 years ago, so just drop this piece.
show more ...
|
#
87203b09 |
| 09-Jul-2014 |
miod <miod@openbsd.org> |
KNF
|
#
c3d6a26a |
| 12-Jun-2014 |
deraadt <deraadt@openbsd.org> |
tags as requested by miod and tedu
|
#
e402ce74 |
| 27-Apr-2014 |
miod <miod@openbsd.org> |
Use C99 initializers for the various FOO_METHOD structs. More readable, and avoid unreadable/unmaintainable constructs like that:
const EVP_PKEY_ASN1_METHOD cmac_asn1_meth = { EVP_PK
Use C99 initializers for the various FOO_METHOD structs. More readable, and avoid unreadable/unmaintainable constructs like that:
const EVP_PKEY_ASN1_METHOD cmac_asn1_meth = { EVP_PKEY_CMAC, EVP_PKEY_CMAC, 0,
"CMAC", "OpenSSL CMAC method",
0,0,0,0,
0,0,0,
cmac_size, 0, 0,0,0,0,0,0,0,
cmac_key_free, 0, 0,0 };
ok matthew@ deraadt@
show more ...
|
#
6f3a6cb1 |
| 17-Apr-2014 |
beck <beck@openbsd.org> |
Change library to use intrinsic memory allocation functions instead of OPENSSL_foo wrappers. This changes: OPENSSL_malloc->malloc OPENSSL_free->free OPENSSL_relloc->realloc OPENSSL_freeFunc->free
|
#
97222edd |
| 13-Apr-2014 |
miod <miod@openbsd.org> |
Merge conflicts; remove MacOS, Netware, OS/2, VMS and Windows build machinery.
|
#
17150393 |
| 05-Jan-2012 |
djm <djm@openbsd.org> |
OpenSSL 1.0.0f: merge
|
#
c32db552 |
| 03-Nov-2011 |
djm <djm@openbsd.org> |
openssl-1.0.0e: resolve conflicts
|
#
0a5d6ede |
| 01-Oct-2010 |
djm <djm@openbsd.org> |
resolve conflicts, fix local changes
|
#
e6841c1d |
| 09-Jan-2009 |
djm <djm@openbsd.org> |
resolve conflicts
|
#
8214bb00 |
| 05-Jan-2009 |
djm <djm@openbsd.org> |
update to openssl-0.9.8i; tested by several, especially krw@
|
#
59e88afd |
| 07-Sep-2008 |
kettenis <kettenis@openbsd.org> |
Fix merge botch.
ok miod@
|
#
4fcf65c5 |
| 06-Sep-2008 |
djm <djm@openbsd.org> |
resolve conflicts
|
#
ee1f122a |
| 04-Oct-2006 |
pvalchev <pvalchev@openbsd.org> |
openssl security fixes, diff from markus@, ok & "commit it" djm@ http://www.openssl.org/news/secadv_20060928.txt for more
|
#
6d388760 |
| 27-Jun-2006 |
djm <djm@openbsd.org> |
resolve conflicts
|