Bernd May wrote:
hi, while I can hardly say anything about your code, I think you should read up on how to use openssl in objective c (I guess thats what you use to write your app).
The code was pretty awful, but there's no need to call OpenSSL directly. ldap_initialize takes care of it.
As a side note, LDAPS is considered deprecated in favour of using STARTTLS on Port 389 instead, so you might want to read up on that too. Regards,
-- -- Howard Chu CTO, Symas Corp. http://www.symas.com Director, Highland Sun http://highlandsun.com/hyc/ Chief Architect, OpenLDAP http://www.openldap.org/project/