pkinit client build in windows

Eswar S eswars at huawei.com
Wed Mar 19 05:42:13 EDT 2008




I think problem is in accessing global shared variables in windows I have
build with OPENSSL_EXPORT_VAR_AS_FUNCTION preprocessor also.
Item pointer values are not getting initialized. I am doing all these in VC
2005.

I am using correct openssl 0.9.8g dll and lib.
I have built these with ms\32all.bat script from openssl.

Plz suggest me to solve this.

****************************************************************************
***********
This e-mail and attachments contain confidential information from HUAWEI,
which is intended only for the person or entity whose address is listed
above. Any use of the information contained herein in any way (including,
but not limited to, total or partial disclosure, reproduction, or
dissemination) by persons other than the intended recipient's) is
prohibited. If you receive this e-mail in error, please notify the sender by
phone or email immediately and delete it!

 

-----Original Message-----
From: Danny Mayer [mailto:mayer at ntp.isc.org] 
Sent: Sunday, March 16, 2008 11:58 PM
To: Eswar S
Cc: kerberos at mit.edu
Subject: Re: pkinit client build in windows

Eswar S wrote:
>  
> 
> I am trying to use pkinit preauth in windows (openssl 0.9.8g).
> 
> I am facing some problem when I try to encode auth attributes to sign.
> 
> When I try to encode signed arrtibutes to DER using ASN1_item_i2d api .
> 
>  
> 
> ASN_ITEM pointer is not getting correct values it is crashing at
libeay.dll,
> 

That almost certainly is an indication that there is a mismatch between 
the library that the code was linked with and the dll used at runtime. 
Make sure you are using the right DLL.

Danny
> 
> ASN1_ITEM_rptr (PKCS7_ATTR_SIGN) is one of the inputs for ASN1_item_i2d
API.
> 
>  
> 
> I am thinking PKCS7_ATTR_SIGN_it is the problem.
> 
>  
> 
> In openssl code ASN_ITEM function values are coming NULL (aux values are
> leading this problem).
> 
>  
> 
> Can any one give some suggestion how to solve this problem.
> 
>  
> 
> Regards,
> 
> Eswar S





More information about the Kerberos mailing list