summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Clean up dangerous strncpy use. This included a use where the resultingbeck2014-04-168-27/+17
| | | | | | | string was potentially not nul terminated and a place where malloc return was unchecked. while we're at it remove dummytest.c ok miod@
* - Why do we hide from the OpenSSL police, dad?miod2014-04-166-114/+23
| | | | | | | | - Because they're not like us, son. They use macros to wrap stdio routines, for an undocumented (OPENSSL_USE_APPLINK) use case, which only serves to obfuscate the code. ok tedu@
* > As I walk through the valley of the shadow of deathtedu2014-04-1610-606/+4
| | | | | | | | | > I take a look at my life and realize there's nothin' left > Cause I've been blasting and laughing so long, > That even my mama thinks that my mind is gone Remove even more unspeakable evil being perpetuated in the name of VMS. (and lesser evils done in the name of others.) ok miod
* No need to define ANSI_SOURCE and NO_ERR. TERMIOS kept until ui/ui_openssl.cmiod2014-04-161-2/+2
| | | | gets a second trim.
* No need to build with -DOPENSSL_NO_CAPIENG and -DOPENSSL_NO_HW_xxx for allmiod2014-04-161-10/+1
| | | | now removed engines.
* delete a few leftoverstedu2014-04-161-5/+1
|
* fix a few bugs observed on http://www.viva64.com/en/b/0250/tedu2014-04-162-2/+2
| | | | ok krw miod
* whack the ifdef pinata:tedu2014-04-161-260/+5
| | | | | | | | | | | | | | | | | | OPENSSL_SYSNAME_VXWORKS OPENSSL_SYS_VMS OPENSSL_SYS_MSDOS OPENSSL_UNISTD OPENSSL_SYS_WIN16 WIN_CONSOLE_BUG OPENSSL_SYS_WINCE SGTTY OPENSSL_SYS_MACINTOSH_CLASSIC MAC_OS_GUSI_SOURCE OPENSSL_SYS_NETWARE OPENSSL_SYS_SUNOS __DJGPP__ OPENSSL_SYS_BEOS OPENSSL_SYS_WIN32
* Zero-pad usec format to handle values less than 100,000 correctlyguenther2014-04-161-1/+1
| | | | ok matthew@ tedu@
* Mandatory Surgeon Guenther's Warning: This code could not possibly betedu2014-04-161-24/+24
| | | | | | | correct because it doesn't zerofill the front of usecs, but that's the way I found it. a more thorough emulation of the old code, but with fewer whacky snprintf pointer arithmetic antics. ok beck guenther
* revert. the full horror has only now revealed itself.tedu2014-04-161-26/+21
|
* replace some bio_snprintf crazy with regular snprintf.tedu2014-04-161-21/+26
| | | | | beck had a diff to convert to strftime, but it's easier to verify this is functionally the same. ok beck.
* More KNF.jsing2014-04-1610-104/+109
|
* Make this byzantine horror a shell of it's former self by stubbing thebeck2014-04-161-660/+17
| | | | | | | functions. The ability to set the debug mem functions died with mem.c, but some of the rest of this is still exposed API so we can't delete it.. yet... ok tedu@
* Some software expects RAND_status() to return 1 for success, so alwaysreyk2014-04-161-2/+10
| | | | | | | return 1 in the arc4random backend because there is no possible error condition. Unbreaks lynx, git and friends. ok miod@ dcoppa@
* Clean up non-fatal error handling - we know which error numbers we havejsing2014-04-163-105/+0
| | | | | | defined. ok miod@ beck@
* unbreak install; /usr/share/man/man3/EVP_PKEY_print_private.3 should link tosthen2014-04-161-2/+2
| | | | /usr/share/man/man3/EVP_PKEY_print_public.3 not itself, from deraadt
* Sync the list of man pages for libcrypto, explicity rename conflictingmpi2014-04-1610-56/+1576
| | | | | | | pages instead of doing it in the Makefiles and move a libssl page where it belongs. ok miod@
* Remove _CRAY references. Note that this pleads for the use of <stdint.h>miod2014-04-166-40/+5
| | | | | fixed-width types instead of choosing int or long depending upon what we think the architecture support.
* Remove DES_read_password and DES_read_2passwords which are `modern' flavoursmiod2014-04-163-146/+1
| | | | | | of des_old.h routines, acting as wrappers about the OpenSSL UI API. Nothing should use these functions directly. Riding the recent libcrypto major bump (in a `des' car).
* Your operating system memory allocation functions are your friend. If theybeck2014-04-163-443/+201
| | | | | | | | are not please fix your operating system. Replace mem.c with an API-compatible wrapper that just calls the system functions and does not allow a one word modification of a variable in a running shared library to turn on memory debug functions that expose things that should not be seen. ok tedu@
* dead filetedu2014-04-161-521/+0
|
* API compat fix. RAND_load_file can never fail now. discovered and ok beck.tedu2014-04-161-3/+7
|
* Remove non-posix support. Why is OPENSSL_isservice even here?tedu2014-04-161-229/+0
| | | | | Is this a crypto library or a generic platform abstraction library? "A hack to make Visual C++ 5.0 work correctly" ... time to upgrade.
* Remove disabled code that wouldn't work now that cleanse_ptr wasmatthew2014-04-161-35/+18
| | | | | | | | removed. Also, fix some nearby KNF nits that were bothering me. ok beck
* you do not want to do the things this program doestedu2014-04-161-932/+0
|
* strip this to the bonetedu2014-04-151-67/+3
|
* Three wrappers in this file: OPENSSL_strncasecmp, OPENSSL_strcasecmp,deraadt2014-04-151-93/+4
| | | | | | | | | | | | and OPENSSL_memcmp. All modern systems have strncasecmp. No need to rewrite it. Same with memcmp, call the system one! It is more likely to be hot in the icache, and is specifically optimized for the platform. I thought these OpenSSL people cared about performance? ok tedu
* use explicit_bzero instead of a bizarro "no compiler could ever be smarttedu2014-04-151-70/+3
| | | | enough to optimize this" monstrosity.
* remove md2, jpake, and seed clutter.tedu2014-04-1516-2390/+0
|
* don't even pretend to build md2, seed, or jpaketedu2014-04-151-17/+3
| | | | ok beck deraadt
* Remove wraparounds for operating systems which lack issetugid().deraadt2014-04-151-81/+15
| | | | | | | I will note that some were missing, looking at you Solaris!!! Anyone home? Using my own copyright on the file now, since this is a rewrite of a trivial wrapper around a system call I invented. ok beck
* $infile="/home/eay/ssl/SSLeay/MINFO";tedu2014-04-1512-1854/+0
| | | | I wonder when these scripts were last used...
* The more you remove Chtulhu^WVMS tentacles, the more there aremiod2014-04-1526-52/+0
|
* we don't use these files for buildingtedu2014-04-1556-4817/+0
|
* 12 years ago, old_des.h was used to provide compatibility with libdes.tedu2014-04-156-815/+5
| | | | | | | | | | | | The man page says "Compatibility des_ functions are provided for a short while" and indeed even the original commit message says "The compatibility functions will be removed in some future release, at the latest in version 1.0." So here we are, a short while later. Now I've only been an OpenBSD developer for 11 years, one year less than this header has existed, but in that brief time, I've learned a thing or two about deleting obsolete code. It doesn't delete itself. And worse, people will continue using it until you force them onto a better path.
* imake died in a fire a long time agotedu2014-04-151-35/+0
|
* Crank major for libcrypto and libssl; more symbol removals to occur during themiod2014-04-152-4/+4
| | | | | next few moments, don't rush your update. Requested by deraadt@
* The NO_ASN1_OLD define was introduced in 0.9.7, 8 years ago, to allow formiod2014-04-1511-810/+2
| | | | | | | | | | obsolete (and mostly internal) routines to be compiled out. We don't expect any reasonable software to stick to these interfaces, so better clean up the view and unifdef -DNO_ASN1_OLD. The astute reader will notice the existence of NO_OLD_ASN1 which serves a similar purpose, but is more entangled. Its time will come, soon.
* Just like every web browser expands until it can read mail, every modularmiod2014-04-158-2151/+4
| | | | | | | | | | | | | | | library expands until it has its own dlfcn wrapper, and libcrypto is no exception. Remove the non-dlfcn DSO methods. This causes public DSO_METHOD_{beos,dl,vms,win32} to disappear (major bump coming soon). Note that portable software ought to use DSO_METHOD_openssl instead of picking the backend directly (which makes one wonder why the backends are exposed, as it is unlikely that more than one can work on your system). ok beck@ deraadt@
* remove FIPS mode support. people who require FIPS can buy something thattedu2014-04-1566-979/+9
| | | | | meets their needs, but dumping it in here only penalizes the rest of us. ok beck deraadt
* Go home, VMS, you're drunkmiod2014-04-153-6559/+0
|
* In EC_POINT_invert(), actually check the correct function pointer for NULLmiod2014-04-151-1/+1
| | | | | before attempting to invoke it; trivial one-liner in OpenSSL RT #2569 ignored for 2.5 years.
* No licence.miod2014-04-155-963/+0
|
* Moved to regress/lib/libcrypto.miod2014-04-1523-9461/+0
|
* Remove the GOST engine: It is not compiled or used and depends on thereyk2014-04-154-8/+0
| | | | | | | | "dynamic engine" feature that is not enabled in our build. People who need it can still pull it out of the Attic; if it is to have a Russian engine just because it's a Russian engine. OK deraadt@ beck@
* Send the rotIBM stream cipher (ebcdic) to Valhalla to party for eternitybeck2014-04-1534-683/+5
| | | | | with the bearded ones... some API's that nobody should be using will dissapear with this commit.
* Toss a `unifdef -U OPENSSL_SYS_WINDOWS' bomb into crypto/bio.jsing2014-04-155-169/+3
| | | | ok miod@
* First pass at applying KNF to the OpenSSL code, which almost makes itjsing2014-04-153-700/+739
| | | | | readable. This pass is whitespace only and can readily be verified using tr and md5.
* As we now remove it permanently, we no longer need NO_WINDOWS_BRAINDEATHbeck2014-04-152-6/+2
| | | | | as a build time option... ok deraadt@ miod@