you have right Doctor,
IMPLEMENT_ASN1_FUNCTIONS(stname)
call 
 IMPLEMENT_ASN1_FUNCTIONS_fname(stname, stname,
stname)
wich call 
IMPLEMENT_ASN1_FUNCTIONS_fname(stname, itname, itname)
wich calls 
1) IMPLEMENT_ASN1_FUNCTIONS_ENCODE_name(stname,
itname) 2)
IMPLEMENT_ASN1_ALLOC_FUNCTIONS_fname(stname, itname,
fname)  


for 2) it calls :

        stname *fname##_new(void) \
        { \
                return (stname
*)ASN1_item_new(ASN1_ITEM_rptr(itname)); \
        } \
        void fname##_free(stname *a) \
        { \
                ASN1_item_free((ASN1_VALUE *)a,
ASN1_ITEM_rptr(itname)); \
        }

and for 1) , it calls :
*d2i_##fname(stname **a, unsigned char **in, long len)
                        return (stname *)ASN1_item_d2i((ASN1_VALUE **)a,
in, len, ASN1_ITEM_rptr(itname));\

so im obliged to pass by ASN1_ITEM_rptr wich take me
to 
const ASN1_ITEM structure##it, but i can't associate
the item with this new structure like PKCS7 or X509 .

more help Doctor :) .




        

        
                
Vous manquez d’espace pour stocker vos mails ? 
Yahoo! Mail vous offre GRATUITEMENT 100 Mo !
Créez votre Yahoo! Mail sur http://fr.benefits.yahoo.com/

Le nouveau Yahoo! Messenger est arrivé ! Découvrez toutes les nouveautés pour 
dialoguer instantanément avec vos amis. A télécharger gratuitement sur 
http://fr.messenger.yahoo.com
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to