Re: Assertation failure in my server test that no ciphers are present or enabled is zero

2008-10-06 Thread Claes Jakobsson
On 6 okt 2008, at 21.14, Julien R Pierre - Sun Microsystems wrote: > SSLsample is outdated code and has been removed from the NSS source > tree > in 3.12.1. See https://bugzilla.mozilla.org/show_bug.cgi?id=359302 > Please use selfserv as a server code sample. Excellent and thanks for the heads

Assertation failure in my server test that no ciphers are present or enabled is zero

2008-10-04 Thread Claes Jakobsson
Hi, I'm writing a test-case for the Perl bindings that basically is just server from SSLsample. However when I try to connect to it I get an assertation failure: PR_Assert (s=0x86d2c "numPresent > 0 || numEnabled == 0", file=0x86ced "ssl3con.c", ln=670). My NSS is 3.12 The code below shows

Re: Working on Perl bindings for NSS

2008-09-26 Thread Claes Jakobsson
On 26 sep 2008, at 00.03, Wan-Teh Chang wrote: > The Perl or Python bindings could be a great way to test NSS. > > Right now we test NSS by writing a few versatile C programs > and using shell scripts to drive the test programs. Using the > Perl or Python bindings, we could potentially have access

Working on Perl bindings for NSS

2008-09-24 Thread Claes Jakobsson
Hi, I just wanted to drop a note saying that I'm working on Perl bindings for NSS. I saw there was a previous discussion about using SWIG but imho swig doesn't produces a very Perl-like API. I'm starting with the SSL bits since that what I personally need currently but eventually I'll try t