Ed Eden wrote:

what exactly is the fix for the following error? There is no Fast.xs file or text in any file.


OpenSSL.xs: In function `XS_OpenCA__OpenSSL__PKCS10_attributes':
OpenSSL.xs:1311: structure has no member named `single'

This is an old problem :) You mixed OpenSSL 0.9.6 and 0.9.7. You try to compile OpenCA with headerfiles from OpenSSL 0.9.6. The structure looks for 0.9.6 like this:


typedef struct x509_attributes_st
        {
        ASN1_OBJECT *object;
        int set; /* 1 for a set, 0 for a single item (which is wrong) */
        union   {
                char            *ptr;
/* 1 */         STACK_OF(ASN1_TYPE) *set;
/* 0 */         ASN1_TYPE       *single;
                } value;
        } X509_ATTRIBUTE;

OpenSSL 0.9.7 changed "set" to "single". If you get a compiler warning or error because "single" is not present then the structure includes "set" which means your try to compile OpenCA with OpenSSL 0.9.6 what doesn't work.

Michael
--
-------------------------------------------------------------------
Michael Bell                   Email: [EMAIL PROTECTED]
ZE Computer- und Medienservice            Tel.: +49 (0)30-2093 2482
(Computing Centre)                        Fax:  +49 (0)30-2093 2704
Humboldt-University of Berlin
Unter den Linden 6
10099 Berlin                   Email (private): [EMAIL PROTECTED]
Germany                                       http://www.openca.org



-------------------------------------------------------
This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek
For a limited time only, get FREE Ground shipping on all orders of $35
or more. Hurry up and shop folks, this offer expires April 30th!
http://www.thinkgeek.com/freeshipping/?cpg=12297
_______________________________________________
OpenCA-Devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/openca-devel

Reply via email to