Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

SDK 5.0 failed

17 views
Skip to first unread message

HO,ELWIN , HP-Cupertino,ex1

unread,
May 11, 2001, 6:36:47 PM5/11/01
to Michael Hein, mozilla-...@mozilla.org
Hi
Anyone use "iPlanet Directory SDK for C 5.0 HP-UX 11.0 optimize" before.
I tried this lib for SSL connection.
The code is like this. (From auth_ldap)
----------
if ( ldapssl_client_init(path, NULL) != 0)
return "Could not initialize SSL client";
else
return NULL;
-------------
It always return failed.

I use the same code for SDK 4.x without any problem.


Thanks

Elwin

Michael Hein

unread,
May 12, 2001, 1:31:33 PM5/12/01
to
Is the certificate part of your path? If so, try to take it out.

Michael

HO,ELWIN , HP-Cupertino,ex1

unread,
May 14, 2001, 12:22:00 PM5/14/01
to Michael Hein, mozilla-...@mozilla.org
Michael,
My test code is like this:
---------------
#include "auth_ldap.h"
main ()
{
int rv;
rv = ldapssl_client_init(/home/elwinho/.netscape, NULL);
fprintf (stderr, "Return Value %d\n", rv);
}
-------------
This program always return -1.
I have a certificate in /home/elwinho/.netscape/cert7.db.
Please advise

Thanks
Elwin Ho

0 new messages