summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/objects/obj_dat.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-04-15Three wrappers in this file: OPENSSL_strncasecmp, OPENSSL_strcasecmp,deraadt2-186/+8
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
2014-04-15use explicit_bzero instead of a bizarro "no compiler could ever be smarttedu2-140/+6
enough to optimize this" monstrosity.
2014-04-15remove BIO_snprintf usage - convert to snprintf.beck1-7/+8
Interestingly this fixes a bug, as the code appears to have been assuming that BIO_snprintf returns what snprintf does when it does not. ok tedu@
2014-04-15remove md2, jpake, and seed clutter.tedu32-4780/+0
2014-04-15don't even pretend to build md2, seed, or jpaketedu1-17/+3
ok beck deraadt
2014-04-15o_dir.c had a very funny odor. all users of this now use standard functions.beck5-250/+0
consign it to the Attic. ok deraadt@
2014-04-15Remove wraparounds for operating systems which lack issetugid().deraadt2-162/+30
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
2014-04-15All the other old Makefiles are gone, so also remove unused enginesreyk1-135/+0
Makefile. The directory is empty and will silently disappear in the Attic (but there are more engines in another directory).
2014-04-15remove ssl2 support even more completely.tedu25-4509/+13
in the process, always include ssl3 and tls1, we don't need config options for them. when the time comes to expire ssl3, it will be with an ax. checked by miod
2014-04-15the VMS code is legiontedu1-395/+0
2014-04-15 $infile="/home/eay/ssl/SSLeay/MINFO";tedu24-3708/+0
I wonder when these scripts were last used...
2014-04-15we don't use this makefiletedu1-106/+0
2014-04-15The more you remove Chtulhu^WVMS tentacles, the more there aremiod26-52/+0
2014-04-15we don't use these files for buildingtedu112-9634/+0
2014-04-15Remove workarounds for ld reaching MAXDSIZ on vax, now that MAXDSIZ ismiod1-5/+1
more comfortable. Reminded by brad@
2014-04-1512 years ago, old_des.h was used to provide compatibility with libdes.tedu11-1627/+8
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.
2014-04-15imake died in a fire a long time agotedu2-70/+0
2014-04-15repair some whitespacetedu2-100/+88
2014-04-15Crank major for libcrypto and libssl; more symbol removals to occur during themiod4-6/+6
next few moments, don't rush your update. Requested by deraadt@
2014-04-15The NO_ASN1_OLD define was introduced in 0.9.7, 8 years ago, to allow formiod21-1618/+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.
2014-04-15convert BIO_snprintf to snprintfbeck1-2/+6
ok deraadt@ tedu@
2014-04-15Just like every web browser expands until it can read mail, every modularmiod15-4299/+5
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@
2014-04-15remove FIPS mode support. people who require FIPS can buy something thattedu131-1955/+15
meets their needs, but dumping it in here only penalizes the rest of us. ok beck deraadt
2014-04-15Q: How would you like your lies, sir?miod1-7030/+0
A: Rare.
2014-04-15Go home, VMS, you're drunkmiod7-13468/+0
2014-04-15remove FIPS mode support. people who require FIPS can buy something thattedu16-245/+4
meets their needs, but dumping it in here only penalizes the rest of us. ok miod
2014-04-15In EC_POINT_invert(), actually check the correct function pointer for NULLmiod2-2/+2
before attempting to invoke it; trivial one-liner in OpenSSL RT #2569 ignored for 2.5 years.
2014-04-15No longer mention OPENSSL_EC_BIN_PT_COMP being required to allow formiod2-6/+0
`compressed' EC point representation. First, as researched by djb, quoting from http://cr.yp.to/ecdh/patents.html : ``It should, in any case, be obvious to the reader that a patent cannot cover compression mechanisms published seven years before the patent was filed.'' Second, that define was actually removed from the code in in OpenSSL 1.0.0.
2014-04-15No licence.miod10-1926/+0
2014-04-15Moved to regress/lib/libcrypto.miod46-18922/+0
2014-04-15Remove the GOST engine: It is not compiled or used and depends on thereyk37-6469/+1
"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@
2014-04-15Import the OpenSSL libcrypto tests in a form suitable for our rergressmiod48-0/+9639
infrastructure. The following tests have not been imported, for their code lacks a licence: asn1, rsa, sha256, sha512, wp.
2014-04-15Send the rotIBM stream cipher (ebcdic) to Valhalla to party for eternitybeck77-1606/+9
with the bearded ones... some API's that nobody should be using will dissapear with this commit.
2014-04-15Toss a `unifdef -U OPENSSL_SYS_WINDOWS' bomb into crypto/bio.jsing10-338/+6
ok miod@
2014-04-15First pass at applying KNF to the OpenSSL code, which almost makes itjsing6-1400/+1478
readable. This pass is whitespace only and can readily be verified using tr and md5.
2014-04-15As we now remove it permanently, we no longer need NO_WINDOWS_BRAINDEATHbeck3-10/+2
as a build time option... ok deraadt@ miod@
2014-04-15No need to define DEVRANDOM and DEVRANDOM_EGD any longer.miod1-12/+0
2014-04-15Remove VMS code.jsing2-640/+0
ok miod@ beck@
2014-04-15Replace the old OpenSSL PRNG by direct use of arc4random_buf(), keeping themiod23-3417/+137
existing RAND interfaces unchanged. All interfaces allowing external feed or seed of the RNG (either from a file or a local entropy gathering daemon) are kept for ABI compatibility, but are no longer do anything. While the OpenSSL PRNG was required 15+ years ago when many systems lacked proper entropy collection, things have evolved and one can reasonably assume it is better to use the kernel (system global) entropy pool rather than trying to build one's own and having to compensate for thread scheduling... <RANT> Whoever thought that RAND_screen(), feeding the PRNG with the contents of the local workstation's display, under Win32, was a smart idea, ought to be banned from security programming. </RANT> ok beck@ deraadt@ tedu@
2014-04-15remove a test directory. If anyone wants something this again, this isderaadt22-3652/+0
the wrong place and it will need heavy lifting. Love the .bat files and the reference to pre-draft pthreads code at MIT. ok beck
2014-04-15First pass at applying KNF to the OpenSSL code, which almost makes itjsing44-9338/+9352
readable. This pass is whitespace only and can readily be verified using tr and md5.
2014-04-15Convert some BIO_snprintf() to (void) snprintf - as although these onesbeck1-68/+12
save the return value, the value is actually ignored. ok deraadt@
2014-04-15Part 1 of eliminating BIO_snprintf(). This fixes mechanical conversionsbeck56-149/+149
where the return value is ignored changing to (void) snprintf. ok deraadt@
2014-04-15First pass at applying KNF to the OpenSSL code, which almost makes itjsing22-3940/+3988
readable. This pass is whitespace only and can readily be verified using tr and md5.
2014-04-15First pass at applying KNF to the OpenSSL code, which almost makes itjsing50-3578/+3668
readable. This pass is whitespace only and can readily be verified using tr and md5.
2014-04-15remove some vms/windows holdouts.jsg2-336/+0
ok miod@
2014-04-15remove pentium specific benchmark codejsg18-1304/+0
ok miod@
2014-04-15First pass at applying KNF to the OpenSSL code, which almost makes itjsing18-999/+945
readable. This pass is whitespace only and can readily be verified using tr and md5. There is still a huge amount of inconsistency within these headers.
2014-04-15correct cases of code occuring directly after goto/break/returnjsg5-6/+4
ok miod@ guenther@
2014-04-14o_dir.c has a questionable odor.. now that we got rid of OPENSSL_DIR_XXXbeck1-2/+1
remove it from the build.. we can cvs rm it and the files it includes once we know for sure ports are good. ok deraadt@