> Several complaints saying:
> unable to write 'random state'
One cause seems to be this stuff in "tests/CAtsa.cnf":
[...]
# This definition stops the following lines choking if HOME isn't
# defined.
HOME = .
RANDFILE = $ENV::HOME/.rnd
[...]
All the other "tests/*.cnf" files seem to say this (which seems to be
harmless):
RANDFILE = ./.rnd
Apparently (details not verified, but looking plausible, so far, to
me), that "$ENV::HOME" construct gets evaluated (using getenv()) to a
VMS form of the logical name SYS$LOGIN. In my case, that was
"sys$sysroot:[sysmgr]", and the resulting VMS-UNIX mixed-form path,
"sys$sysroot:[sysmgr]/.rnd" causes the I/O failures.
The code in crypto/rand/randfile.c:RAND_file_name() handles the VMS
situation properly (no added "/"), but there's nothing anywhere to cope
with UNIX-like path formation in a ".cnf" file. The "$ENV::" evaluator
could be rigged to handle "HOME" as a special case. Simply substituting
"/sys$login" instead of calling getenv() would probably work, but if
"RANDFILE = ./.rnd" is good enough for all the other tests, then there's
probably no point in adding the code clutter. (Real users on VMS would
be unlikely to use a construct like this, I'd guess.)
That still leaves all this stuff:
[...]
-----
Using configuration from [-]CATSA.CNF
Error Loading extension section TSA_CERT
2075840056:error:02001002:system library:fopen:no such file or directory:ALP$DKA
0:[UTILITY.SOURCE.OPENSSL.openssl-1^.0^.0-beta5.crypto.bio]bss_file.c;1:126:fope
n('./demoCA/index.txt-attr','r')
2075840056:error:2006D080:BIO routines:BIO_new_file:no such file:ALP$DKA0:[UTILI
TY.SOURCE.OPENSSL.openssl-1^.0^.0-beta5.crypto.bio]bss_file.c;1:129:
2075840056:error:0E078072:configuration file routines:DEF_LOAD:no such file:ALP$
DKA0:[UTILITY.SOURCE.OPENSSL.openssl-1^.0^.0-beta5.crypto.conf]conf_def.c;1:197:
2075840056:error:0E06D06C:configuration file routines:NCONF_get_string:no value:
ALP$DKA0:[UTILITY.SOURCE.OPENSSL.openssl-1^.0^.0-beta5.crypto.conf]conf_lib.c;1:
334:group=CA_default name=email_in_dn
[...]
So far, I haven't tried to figure out what this test is trying to do,
so I have no real idea where it's going wrong.
------------------------------------------------------------------------
Steven M. Schweda s...@antinode-info
382 South Warwick Street (+1) 651-699-9818
Saint Paul MN 55105-2547
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List [email protected]
Automated List Manager [email protected]