Op donderdag 14 april 2005 om 12:44 uur schreef Paul het volgende:

> Thank you very much that was the solution but i?m wondering why i have
> to specify it ? I didn?t install in an unusual place. I just followed
> the README and allowed it to choose its own defaults. i.e > Include is
> in /usr/local/ssl/include.

Yes, that is the default. Makes it easier to upgrade. If you want it in
some other place you can use "./configure --openssldir=/path/to/other/dir".
 
> Is there an environment variable i have to set somewhere ? (btw i forgot to 
> say i?m on Ubuntu).

For compiling you can usually use the environment variables CFLAGS (for
the -I flag) and LDFLAGS (for the -L flag) as they are default used by
make.

On 'Ubuntu' I would recommend to just use the 'openssl' packages that
come with your version. That is much easier, and they install the include files 
and
libraries in the "right" locations.
 
> Btw would you by any chance know of any examples of calling the crypto
> functions from JNI ? OR any resources that would help ? I only need to
> call encrypt/decrypt with blowfish/des and thats it but unfortunately
> i?m completely unfamiliar with C and JNI and i don?t have ne time to
> learn them (although i?m in the process of it)

I know nothing about JNI, but as far as I know it is a Java environment.
In that case you might better use a native Java SSL package instead of
OpenSSL. There are several Java libraries that functionaly can cooperate
fine with OpenSSL clients and servers.

Again try searching the Ubuntu packages first.
-- 
Marco Roeland
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to