Hi all,
I'm using OpenSSL 1.0.0d and i'm trying to compile the following code:
TS_TST_INFO *tstInfoOpenssl;
tstInfoOpenssl->extensions->num = 3;
(X509_EXTENSION*) requisicaoOpenssl->extensions->data[_i]
Actually, it's just a piece of the code, but it retrieves these errors:
error: ‘struct stack_st_X509_EXTENSION’ has no member named ‘num’.
‘struct stack_st_X509_EXTENSION’ has no member named ‘data’
I can't understand why this error is happening, because it's a internal
struct of the openssl.
The member num is present in the struct:
typedef struct stack_st
{
int num;
char **data;
int sorted;
int num_alloc;
int (*comp)(const void *, const void *);
} _STACK; /* Use STACK_OF(...) instead */
When i try to compile in the version 0.9.7j xx XXX xxxx with the open TS
patch, it compiles without errors. Can anyone help me?
--
Rick Lopes de Souza