diff options
author | 2014-04-16 02:14:27 +0000 | |
---|---|---|
committer | 2014-04-16 02:14:27 +0000 | |
commit | acbada9f2874b3b23c8799bfe2d3ef28f3939498 (patch) | |
tree | 190331c8990a060b4e599e12692a3c6c58a0164b /lib/libssl/src/apps/dsa.c | |
parent | strncpy(d, s, strlen(s)) is a special kind of stupid. even when it's right, (diff) | |
download | wireguard-openbsd-acbada9f2874b3b23c8799bfe2d3ef28f3939498.tar.xz wireguard-openbsd-acbada9f2874b3b23c8799bfe2d3ef28f3939498.zip |
spray the apps directory with anti-VMS napalm.
so that its lovecraftian horror is not forever lost, i reproduce below
a comment from the deleted code.
/* 2011-03-22 SMS.
* If we have 32-bit pointers everywhere, then we're safe, and
* we bypass this mess, as on non-VMS systems. (See ARGV,
* above.)
* Problem 1: Compaq/HP C before V7.3 always used 32-bit
* pointers for argv[].
* Fix 1: For a 32-bit argv[], when we're using 64-bit pointers
* everywhere else, we always allocate and use a 64-bit
* duplicate of argv[].
* Problem 2: Compaq/HP C V7.3 (Alpha, IA64) before ECO1 failed
* to NULL-terminate a 64-bit argv[]. (As this was written, the
* compiler ECO was available only on IA64.)
* Fix 2: Unless advised not to (VMS_TRUST_ARGV), we test a
* 64-bit argv[argc] for NULL, and, if necessary, use a
* (properly) NULL-terminated (64-bit) duplicate of argv[].
* The same code is used in either case to duplicate argv[].
* Some of these decisions could be handled in preprocessing,
* but the code tends to get even uglier, and the penalty for
* deciding at compile- or run-time is tiny.
*/
Diffstat (limited to 'lib/libssl/src/apps/dsa.c')
-rw-r--r-- | lib/libssl/src/apps/dsa.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/libssl/src/apps/dsa.c b/lib/libssl/src/apps/dsa.c index 5222487ab9c..45bac4a9d16 100644 --- a/lib/libssl/src/apps/dsa.c +++ b/lib/libssl/src/apps/dsa.c @@ -293,12 +293,6 @@ bad: if (outfile == NULL) { BIO_set_fp(out,stdout,BIO_NOCLOSE); -#ifdef OPENSSL_SYS_VMS - { - BIO *tmpbio = BIO_new(BIO_f_linebuffer()); - out = BIO_push(tmpbio, out); - } -#endif } else { |