Just for info:
A friend of mine had some trouble with perl V.5.005_02 and
openssl-0.9.1c/crypto/err/err_genc.pl.
The script seems to generate wrong code with this
(and maybe other) newer perl version in the *_err.c files.
For example in bn_err.c it generates
62 /* BEGIN ERROR CODES */
63 #ifndef NO_ERR
-> 64 static ERR_STRING_DATA []=
65 {
66 {ERR_PACK(0,BN_F_BN_BLINDING_CONVERT,0),
"BN_BLINDING_convert"},
67 {ERR_PACK(0,BN_F_BN_BLINDING_INVERT,0), "BN_BLINDING_invert"},
instead of
62 /* BEGIN ERROR CODES */
63 #ifndef NO_ERR
-> 64 static ERR_STRING_DATA BN_str_functs[]=
65 {
66 {ERR_PACK(0,BN_F_BN_BLINDING_CONVERT,0),
"BN_BLINDING_convert"},
67 {ERR_PACK(0,BN_F_BN_BLINDING_INVERT,0), "BN_BLINDING_invert"},
He had to change
56 foreach (sort keys %out)
57 {
-> 58 print "static ERR_STRING_DATA ${_}[]=\n\t{\n";
59 print $out{$_};
60 print "{0,NULL},\n";
to
56 foreach (sort keys %out)
57 {
-> 58 print "static ERR_STRING_DATA ${_}\[\]=\n\t{\n";
59 print $out{$_};
60 print "{0,NULL},\n";
in err_genc.pl to compile.
Ciao,
Lars <[EMAIL PROTECTED]>
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]