Thank you for your response.
I want to change the type of variabe in "x509.h".
specially, subject type and issuer type..

for example...
I tried to change code A to code B

A is..(original).
-------------------------------------------------
typedef struct X509_req_info_st
        {
        ��
        X509_NAME *subject;
        ��
        } X509_REQ_INFO;

typedef struct x509_cinf_st
        {
        ��
        X509_NAME *subject;
        ��
        } X509_CINF;
-------------------------------------------------

B is...(modified)
===========================================
typedef struct X509_req_info_st
        {
        ��
        X509_HOLDER holder; /*changed*/
��
        } X509_REQ_INFO;

typedef struct x509_cinf_st
        {
��
X509_HOLDER *holder;  /*changed*/
       
/* deleted!!    
        X509_PUBKEY *key;
        ASN1_BIT_STRING subjectUID; 
*/
        ��
} X509_CINF;

'X509_HOLDER' is represented like this:
/*new added!!*/
typedef struct X509_HOLDER_st
    {
     ASN1_INTEGER *serialNumber;
     X509_NAME *entityName;
     ASN1_INTEGER *objectType;
    } X509_HOLDER;
===========================================

that is..
I want to use value of ��holder�� type instead of
��subject��...

but when the 'X509_REQ_new()' function is executed in
the context of "req.c" ,then the exception error has
happened..

X509_REQ_new() function called
M_ASN1_New(req->req_info,X509_REQ_INFO_new) function
in "x_req.c" .

and X509_REQ_INFO_new function called
M_ASN1_New(ret->holder->entityName,X509_NAME_new)
function in "x_req.c".

exception error occured!!
<<Unhandled exception in openssl.exe LIBEAY32.DLL) :
0xC0000005: Access Violation>>


_____________________________________________________________________
����Ʈ ���� ���� ���Ϸ� �ϴ� ��ȣȸ, ����! ���ϵ� http://kr.groups.yahoo.com/
�ٹ��� �⺻, ���� ����Ʈ����, ����! ���� http://kr.photos.yahoo.com/
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to