Re: C-Kermit 9.0 first Alpha test



Frank da Cruz wrote:

: [...]
: #define des_cblock DES_cblock
: ...................^
: %CC-W-MACROREDEF, The redefinition of the macro "des_cblock" conflicts
: with a current definition because the replacement lists differ...
:
I'm not sure why this is even being picked up unless a secure build
is being attempted. In that case, there are some things to be aware
of. First, OpenSSL changed the names of the DES routines between
0.9.6 and 0.9.7; it might be necessary to add -DOPENSSL_097 to the
CC flags. Second (probably not relevant in this case), OS vendors are
starting to remove DES encryption from all their products.
: [...]

Well, of _course_ it's a secure build! Where's the fun if
you don't enable all the options?

Defining OPENSSL_097 seems to do no good. The first
definition of des_cblock is around ckuath.c:195:

#else /* KRB4 */
#ifdef CK_SSL
#define des_cblock Block <---
#ifdef COMMENT
#define const_des_cblock const Block
#endif /* COMMENT */
#define des_key_schedule Schedule <---
#endif /* CK_SSL */

Then, someone drags in <openssl/des_old.h>:

[...]
#ifndef OPENSSL_DES_LIBDES_COMPATIBILITY
#define des_cblock DES_cblock
#define const_des_cblock const_DES_cblock
#define des_key_schedule DES_key_schedule
[...]

which is where we get the %CC-W-MACROREDEF complaints about
des_cblock and des_key_schedule. Defining
OPENSSL_DISABLE_OLD_DES_SUPPORT does evade the problem,
resulting in a nearly clean build. I'm not sure how this
should be fixed.

The remaining complaint (only "%CC-I-QUESTCOMPARE", so not
a big problem) is:

Compiling ALP$DKA0:[UTILITY.SOURCE.KERMIT.v9r0_2009-11-20]CKVTIO.C

while ((n--) && xx_inc(2) >= 0) ; /* Ignore Warning - see
comments */
.........................^
%CC-I-QUESTCOMPARE, In this statement, the unsigned expression "(--
ttxbn>=0?(uns
igned)(ttxbuf[ttxbp++]&0X00000000000000FF):txbufr(...))" is being
compared with
a relational operator to a constant whose value is not greater than
zero. This
might not be what you intended.
at line number 921 in file
ALP$DKA0:[UTILITY.SOURCE.KERMIT.v9r0_2009-11-20]ckvtio.c;1


My (latest) build command:

@ CKVKER.COM SFI D "CK_SSL,OPENSSL_DISABLE_OLD_DES_SUPPORT"

and:

ALP$DKA0:[UTILITY.SOURCE.KERMIT.v9r0_2009-11-20] C-Kermit>show
versions

Versions:
C-Kermit 9.0.299 Alpha.01, 16 Nov 2009
Numeric: 900299
Built for: OpenVMS Alpha
Running on: OpenVMS Alpha 8 V8.3 Alpha
Patches: (none)
Communications I/O 9.0.124, 16 Oct 2009 for OpenVMS Alpha
File support, 9.0.181, 16 Oct 2009 for OpenVMS Alpha
C-Kermit library, 9.0.045, 16 Nov 2009
C-Kermit Protocol Module 9.0.160, 16 Oct 2009
C-Kermit functions, 9.0.229, 15 Feb 2009
Command package 9.0.167, 16 October 2008
User Interface 9.0.295, 10 November 2009
Character Set Translation 9.0.042, 16 Oct 2009
CONNECT Command 8.0.062 5 Apr 2004
Dial Command, 9.0.160, 16 Oct 2009
Script Command, 9.0.032, 16 Oct 2009
Network support, 9.0.293, 16 Oct 2009
Telnet support, 9.0.273, 16 Oct 2009
FTP Client, 9.0.253, 16 Oct 2009
Authentication, 9.0.234, 16 Oct 2009
SSL/TLS support, 9.0.226, 16 Oct 2009

ALP$DKA0:[UTILITY.SOURCE.KERMIT.v9r0_2009-11-20] C-Kermit>


I'm assuming that "FTP Client, 9.0.253, 16 Oct 2009" means
that I got the internal FTP client. It seemed to work, at
least a little, but when I tried "ftp dir" in a populous
directory, I got an uninterruptable listing (which seemed to
go on for a very long time). The normal (TCPIP) FTP client
handles Ctrl/C better (apparently sending an "ABOR" command),
and not running until everything's been spewed to the
terminal.
.



Relevant Pages

  • DoD supports Atlantis shuttle mission (Forwarded)
    ... North American Aerospace Defense Command ... DoD supports Atlantis shuttle mission ... U.S. Northern Command is the focal point for military emergency support to ... Air Force, Navy, Marine Corps and Coast Guard aircraft and Coast Guard ships ...
    (sci.space.news)
  • DoD supports Atlantis shuttle mission (Forwarded)
    ... North American Aerospace Defense Command ... DoD supports Atlantis shuttle mission ... U.S. Northern Command is the focal point for military emergency support to ... Six F-16s from the U.S. Air Force, ...
    (sci.space.shuttle)
  • Re: Ninth(?) Velociraptor replacement or md(RAID)/smartmontools(?) bug?
    ... When the command that caused the error occurred, ... Does this not defeat the purpose of raid, it should remap the bad sector and continue processing, not drop the RAID/break it? ... enabled, doesn't support DPO or FUA ... When the command that caused the error occurred, the device was doing SMART Offline or Self-test. ...
    (Linux-Kernel)
  • GNU Mailutils 2.0 released
    ... If that command fails because you don't have the required public key, ... Additional mailbox URL parameters `type', ... ** LDAP support. ... The support for TCP wrappers is added to the daemon programs (imap4d, ...
    (gnu.announce)
  • NORAD and U.S. Northern Command support for STS-116 (Forwarded)
    ... NORAD and U.S. Northern Command support for STS-116 ... -- North American Aerospace Defense Command ... NORAD -- the bi-national command responsible for air defense of the North ...
    (sci.space.shuttle)