Hi , I am new to openssl and I hope you will be able to help me .
I have used the pkcs11 patch from http://blogs.sun.com/janp/entry/pkcs_11_engine_patch_for1 on OpenSSL 0.9.8k . But make command gives me this error making all in crypto/engine... xlc_r -I.. -I../.. -I../../include -DOPENSSL_THREADS -qthreaded -DDSO_DLFCN -DHAVE_DLFCN_H -DPK11_LIB_LOCATION="/usr/lib/pkcs11xcrypto/libpkcs11xcrypto.so" -DSSL_ALLOW_ADH -q32 -O -DB_ENDIAN -qmaxmem=16384 -qro -qroconst -c hw_pk11.c "cryptoki.h", line 30.1: 1506-732 (W) pragma ident is not supported on the target platform. "hw_pk11.c", line 786.40: 1506-275 (S) Unexpected text '/' encountered. "hw_pk11.c", line 786.40: 1506-045 (S) Undeclared identifier usr. "hw_pk11.c", line 786.40: 1506-045 (S) Undeclared identifier lib. "hw_pk11.c", line 786.40: 1506-045 (S) Undeclared identifier pkcs11xcrypto. "hw_pk11.c", line 786.40: 1506-045 (S) Undeclared identifier libpkcs11xcrypto. "hw_pk11.c": 1506-168 (S) Initializer must be enclosed in braces. make: 1254-004 The error code from the last command is 1. Do you know why I am getting this error? I have applied this patch on AIX machine. I hope this patch can be applied on any platform and can enable pkcs11 interface ? Please correct me if i am wrong? Thanks in advance Samuel -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.opensolaris.org/pipermail/security-discuss/attachments/20091211/0453e59a/attachment.html>