[openssl.org #922]
tesss __ OpenSSL Project http://www.openssl.org Development Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]
Porting OpenSSL
I have been working on porting OpenSSL to the THEOS Operating System. The C compiler is ANSI C compliant and "mostly" ISO C99 compliant. However, it is not as feature rich as GCC. . My main problem is with the function pointer callbacks that accept parameters. I'm finding that I have to modify the source a lot in order to get it to compile. Does anyone have any suggestions that may help me in porting OpenSSL to this environment? Is there another SSL toolkit that is more ANSI C friendly? Gary Walters
Re: Porting OpenSSL
In message [EMAIL PROTECTED] on Wed, 21 Jul 2004 15:00:15 -0600, Gary Walters [EMAIL PROTECTED] said: garwal I have been working on porting OpenSSL to the THEOS Operating garwal System. The C compiler is ANSI C compliant and mostly ISO garwal C99 compliant. However, it is not as feature rich as GCC. My garwal main problem is with the function pointer callbacks that garwal accept parameters. I'm finding that I have to modify the garwal source a lot in order to get it to compile. garwal garwal Does anyone have any suggestions that may help me in porting garwal OpenSSL to this environment? Is there another SSL toolkit garwal that is more ANSI C friendly? Uhmm, OpenSSL is supposed to be ANSI C (well, at least C89) friendly. It may be that we haven't done a good enough job and that we need to correct some things, but that would require that you help us figure it out by sending us *complete* build logs. As for other SSL toolkits, I can't say that I've much experience, so I can't really help you there. OBTW, what OpenSSL version did you use? - Please consider sponsoring my work on free software. See http://www.free.lp.se/sponsoring.html for details. -- Richard Levitte \ Tunnlandsvägen 52 \ [EMAIL PROTECTED] [EMAIL PROTECTED] \ S-168 36 BROMMA \ T: +46-708-26 53 44 \ SWEDEN \ Procurator Odiosus Ex Infernis-- [EMAIL PROTECTED] Member of the OpenSSL development team: http://www.openssl.org/ - A: Because it fouls the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail? __ OpenSSL Project http://www.openssl.org Development Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]
Re: Porting OpenSSL
Thus spake Gary Walters [EMAIL PROTECTED] I have been working on porting OpenSSL to the THEOS Operating System. The C compiler is ANSI C compliant and mostly ISO C99 compliant. However, it is not as feature rich as GCC. . My main problem is with the function pointer callbacks that accept parameters. I'm finding that I have to modify the source a lot in order to get it to compile. Pointers to functions that take arguments are allowed by C89/C90; perhaps your compiler isn't as compliant as the authors think? S Stephen Sprunk Those people who think they know everything CCIE #3723 are a great annoyance to those of us who do. K5SSS --Isaac Asimov __ OpenSSL Project http://www.openssl.org Development Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]
Re: Porting OpenSSL
Gary, MatrixSSL might be a good alternative, it's designed to be easily portable and I believe only uses callbacks with parameters in one spot (for X.509 certificate validation). Var args are also not used in any of the APIs, which may help if your compiler is less than ANSI compliant.. The library is sockets and threads independent, so POSIX support isn't required in your OS. Basic stdlib is about all you need. Here's a post containing the external APIs that are invoked and when they're used. http://www.matrixssl.org/archives/58.html J Disclaimer: I'm on the MatrixSSL team. garwal I have been working on porting OpenSSL to the THEOS Operating garwal System. The C compiler is ANSI C compliant and mostly ISO garwal C99 compliant. However, it is not as feature rich as GCC. My garwal main problem is with the function pointer callbacks that garwal accept parameters. I'm finding that I have to modify the garwal source a lot in order to get it to compile. garwal garwal Does anyone have any suggestions that may help me in porting garwal OpenSSL to this environment? Is there another SSL toolkit garwal that is more ANSI C friendly? __ OpenSSL Project http://www.openssl.org Development Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]