Hello.
I'm a newbie in openssl.
well...I want to know how to change the data structure
of x.509 in the context of "crypto\x509\x509.h"?
Could somebody give an advice for this?
I tried something for example.
for example
typedef struct X509_req_info_st
{
ASN1_INTEGER *version;
��
��
ALICE bob; // <= it is changed!!!
��
��
STACK_OF(X509_ATTRIBUTE) *attributes; int
req_kludge;
} X509_REQ_INFO;
typedef struct ALICE_st
{
ASN1_INTEGER cat;
X509_NAME bird;
...
} ALICE
X509_REQ_INFO *X509_REQ_INFO_new(void)
{
X509_REQ_INFO *ret=NULL;
ASN1_CTX c;
M_ASN1_New_Malloc(ret,X509_REQ_INFO);
M_ASN1_New(ret->version,M_ASN1_INTEGER_new);
M_ASN1_New(ret->pubkey,X509_PUBKEY_new);
M_ASN1_New(ret-
attributes,sk_X509_ATTRIBUTE_new_null);
ret->bob->bird = X509_NAME_new();
// <= it is changed!!!
It doesn��t works with this error (exception error)
msg.
<<Unhandled exception in openssl.exe(LIBEAY32.DLL) :
0xC0000005: Access Violation>>
��
��
}
I guess that each variable or function used stack.
but I don't understand where is used be data or
function in stack?
in this case, If I want to use the bird of the ALICE
type, then where, how and what to change?
If I change or add some data structure, then where,
how and what to change for use this data structure?
Please answer me and have a nice day.
_____________________________________________________________________
����Ʈ ���� ���� ���Ϸ� �ϴ� ��ȣȸ, ����! ���ϵ� 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]