[openssl-users] Debugging a compile issue

The Doctor doctor at doctor.nl2k.ab.ca
Wed Aug 5 04:32:57 UTC 2015


On Tue, Aug 04, 2015 at 12:52:19AM -0600, The Doctor wrote:
> On Tue, Aug 04, 2015 at 12:48:05AM -0600, The Doctor wrote:
> > On Sat, Aug 01, 2015 at 09:52:12PM +0000, Dr. Stephen Henson wrote:
> > > On Sat, Aug 01, 2015, The Doctor wrote:
> > > 
> > > > On Sat, Aug 01, 2015 at 04:15:16PM +0000, Dr. Stephen Henson wrote:
> > > > > On Sat, Aug 01, 2015, The Doctor wrote:
> > > > > 
> > > > > > A few weeks ago, I overloaded my server and compiler and
> > > > > > now I get 
> > > > > > 
> > > > > > signed content test streaming BER format, 2 DSA and 2 RSA keys, no attributes: OK
> > > > > > signed content test streaming S/MIME format, 2 DSA and 2 RSA keys: verify error
> > > > > > *** Error code 1
> > > > > > 
> > > > > > Stop.
> > > > > > *** Error code 1
> > > > > > 
> > > > > > Stop.
> > > > > > 
> > > > > > How can debug and rectify the situation?
> > > > > > 
> > > > > > I do need to move forward.
> > > > > > 
> > > > > 
> > > > > I answered this a while back.
> > > > 
> > > > Sorry for missing the inital reply.
> > > > 
> > > > > You should have some files called cms.err and
> > > > > cms.out in the test directory. What is in them?
> > > > >
> > > > 
> > > > cme.err file
> > > > 
> > > > ls: error initializing month strings
> > > > Error reading S/MIME message
> > > > 135072992:error:0D0D40D1:asn1 encoding routines:SMIME_read_ASN1:no content type:
> > > > asn_mime.c:440:
> > > > 
> > > 
> > > That's weird, what kind of system is this?
> > 
> > BSD system
> > 
> > > Not sure what is causing that ls
> > > error. There should also be a file test.cms created which is 6879 bytes long
> > > for that test on my system. The only immediate possibility I can think of is
> > > that the file isn't written to properly for some reason (disk full?).
> > 
> > Disk not full, however file not being written properly is a clue.
> 
> Just tried a variety of perl commands and all turned up the same.
> 
> > 
> > > 


In perl debug mode I got

  DB<1> signed content test streaming BER format, 2 DSA and 2 RSA keys, no attributes: OK
main::run_smime_tests(cms-test.pl:531):
531:            my ( $tnam, $rscmd, $rvcmd ) = @$smtst;
  DB<1> main::run_smime_tests(cms-test.pl:532):
532:            if ($ossl8)
533:                    {
  DB<1> main::run_smime_tests(cms-test.pl:541):
541:            if ($no_ec && $tnam =~ /ECDH/)
542:                    {
  DB<1> main::run_smime_tests(cms-test.pl:546):
546:            if ($no_ecdh && $tnam =~ /ECDH/)
547:                    {
  DB<1> main::run_smime_tests(cms-test.pl:551):
551:            if ($no_ec2m && $tnam =~ /K-283/)
552:                    {
  DB<1> main::run_smime_tests(cms-test.pl:556):
556:            system("$scmd$rscmd$redir");
  DB<1> main::run_smime_tests(cms-test.pl:557):
557:            if ($?) {
  DB<1> main::run_smime_tests(cms-test.pl:563):
563:            system("$vcmd$rvcmd$redir");
  DB<1> main::run_smime_tests(cms-test.pl:564):
564:            if ($?) {
  DB<1> main::run_smime_tests(cms-test.pl:565):
565:                print "$tnam: verify error\n";
  DB<1> signed content test streaming S/MIME format, 2 DSA and 2 RSA keys: verify error
main::run_smime_tests(cms-test.pl:566):
566:                $$rv++;
  DB<1> main::run_smime_tests(cms-test.pl:567):
567:                exit 1 if $halt_err;
  DB<1>

-- 
Member - Liberal International This is doctor@@nl2k.ab.ca Ici doctor@@nl2k.ab.ca
God,Queen and country!Never Satan President Republic!Beware AntiChrist rising! 
http://www.fullyfollow.me/rootnl2k  Look at Psalms 14 and 53 on Atheism
Time for Stephen to move on on Oct 19 2015!!


More information about the openssl-users mailing list