Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

return table #1

Closed
dvv opened this issue Oct 23, 2011 · 8 comments
Closed

return table #1

dvv opened this issue Oct 23, 2011 · 8 comments

Comments

@dvv
Copy link

dvv commented Oct 23, 2011

Hi!

Excellent project, many thanks! Wonder if you could make it not go to _G and return table of functions? Or, if this is incompatible, to do both.

TIA,
--Vladimir

@zhaozg
Copy link
Owner

zhaozg commented Oct 23, 2011

accept it, and i will fix it later.

@zhaozg
Copy link
Owner

zhaozg commented Oct 23, 2011

And some feature will be add when next commit.

@zhaozg
Copy link
Owner

zhaozg commented Oct 23, 2011

This has been imp.

@zhaozg zhaozg closed this as completed Oct 23, 2011
@dvv
Copy link
Author

dvv commented Oct 23, 2011

It stopped building:


make[1]: Entering directory `/home/dvv/LUA/modules/server/build/lua-openssl'
gcc -c -I/home/dvv/LUA/modules/server/build/luvit/deps/luajit/src -o src/auxiliar.o src/auxiliar.c
gcc -c -I/home/dvv/LUA/modules/server/build/luvit/deps/luajit/src -o src/bio.o src/bio.c
gcc -c -I/home/dvv/LUA/modules/server/build/luvit/deps/luajit/src -o src/cipher.o src/cipher.c
gcc -c -I/home/dvv/LUA/modules/server/build/luvit/deps/luajit/src -o src/crl.o src/crl.c
gcc -c -I/home/dvv/LUA/modules/server/build/luvit/deps/luajit/src -o src/csr.o src/csr.c
src/csr.c: In function ‘openssl_csr_sign’:
src/csr.c:535:12: error: expected expression before ‘CONF_VALUE’
src/csr.c:535:25: error: ‘conf’ undeclared (first use in this function)
src/csr.c:535:25: note: each undeclared identifier is reported only once for each function it appears in
src/csr.c:542:11: error: expected expression before ‘CONF_VALUE’
src/csr.c:542:11: error: expected expression before ‘)’ token
src/csr.c:550:3: warning: passing argument 3 of ‘X509V3_EXT_add_conf’ discards qualifiers from pointer target type
/usr/include/openssl/x509v3.h:543:5: note: expected ‘char *’ but argument is of type ‘const char *’
make[1]: *** [src/csr.o] Error 1

@zhaozg
Copy link
Owner

zhaozg commented Oct 23, 2011

I Build it with openssl-1.0, give me some time to support openssl-0.9.8

@dvv
Copy link
Author

dvv commented Oct 23, 2011

yeah, i'm looking for 1.0 version for ubuntu

@dvv
Copy link
Author

dvv commented Oct 23, 2011

openssl-1.0:

src/x509.c:411:1: error: pasting "openssl_register_sk_x509" and "(" does not give a valid preprocessing token

@zhaozg
Copy link
Owner

zhaozg commented Oct 23, 2011

Please see at 7a1fa31.

This change include support openssl 0.98 and openssl 1.0, and update makefile.
I compile under windows with msvc2008 and centos 5.5 successfully. But not fully test, there will be bugs, please careful.

Thank you for open first issue, :)

Good luck.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants