Hi,
Please find the devil in following lines. Am initializing few
BIGNUMs....the line marked as PROBLEM contains something....I get
segmentation fault on that line....You might thing "bn4M" is already
defined...but its not...if I move "bn4M" definition to somewhere
else...its fine with the gcc....but any other variable comes on that
line becomes the reason for segmentation fault!

Any clue?
Thanks in Advance, Merry Easter!

int CS_ChamHash_SF(const unsigned char* pchMsg, BIGNUM *bnRnd, BIGNUM *bnHK,
                   BIGNUM *bnChamDigest){

  printf("\nEntered CS_ChamHash_SF\n");                 
  BIGNUM *bn1 = BN_new();
  BIGNUM *bn4 = BN_new();   printf("\nHI-3\n");
  BIGNUM *bn2M = BN_new(); printf("\nHI-1\n");
  BIGNUM *bn4M = BN_new();  printf("\nHI-2\n");  <----PROBLEM
  BIGNUM *bnMsgDgst = BN_new(); 
  BIGNUM *bnR2M = BN_new();
  BN_CTX *bnCtx = BN_CTX_new(); 
  printf("\nEntered CS_ChamHash_SF-2\n");                       




-- 
Best Regards,
Vishwas.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to