Re: How to get 'TRACE' build?

2011-01-12 Thread Nelson B Bolyard
On 2011-01-11 13:26 PDT, Bernhard Thalmayr wrote:
 Hi experts,
 
 https://developer.mozilla.org/en/NSS_reference/NSS_environment_variables
 
 tells me that I have to build NSS/NSPR with 'TRACE'.
 
 Unfortunatley I have not found how to make this build work.
 
 I've already search the archive and the code but without success.

Uncomment this line in your build tree:

http://mxr.mozilla.org/security/source/security/nss/lib/ssl/manifest.mn#39

-- 
/Nelson Bolyard
-- 
dev-tech-crypto mailing list
dev-tech-crypto@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-tech-crypto


Re: How to get 'TRACE' build?

2011-01-12 Thread Bernhard Thalmayr

On 01/12/2011 10:46 PM, Nelson B Bolyard wrote:

On 2011-01-11 13:26 PDT, Bernhard Thalmayr wrote:

Hi experts,

https://developer.mozilla.org/en/NSS_reference/NSS_environment_variables

tells me that I have to build NSS/NSPR with 'TRACE'.

Unfortunatley I have not found how to make this build work.

I've already search the archive and the code but without success.


Uncomment this line in your build tree:

http://mxr.mozilla.org/security/source/security/nss/lib/ssl/manifest.mn#39


Ah great I only searched within 'Makefiles' and 'mk'-files


Although I've only done a debug build I get an ssl-trace file starting 
with ..


SSL: tracing set to 127
SSL: debugging set to 127
12676: SSL: grow buffer from 0 to 18432
12676: SSL: grow buffer from 0 to 18432
12676: SSL[107778448]: secure connect completed, rv == 0
12676: SSL[107778448]: SecureSend: sending 37 bytes
12676: SSL[107778448]: sending client-hello
12676: SSL: grow buffer from 0 to 18432
12676: SSL[107778448]: dump-msg: Client-Hello
.

Would the 'TRACE'-build show even more info?

-Bernhard
--
dev-tech-crypto mailing list
dev-tech-crypto@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-tech-crypto


Re: How to get 'TRACE' build?

2011-01-12 Thread Nelson B Bolyard
On 2011-01-12 13:53 PDT, Bernhard Thalmayr wrote:

 Although I've only done a debug build I get an ssl-trace file starting 
 with ..
 
 SSL: tracing set to 127
 SSL: debugging set to 127
 12676: SSL: grow buffer from 0 to 18432
 12676: SSL: grow buffer from 0 to 18432
 12676: SSL[107778448]: secure connect completed, rv == 0
 12676: SSL[107778448]: SecureSend: sending 37 bytes
 12676: SSL[107778448]: sending client-hello
 12676: SSL: grow buffer from 0 to 18432
 12676: SSL[107778448]: dump-msg: Client-Hello
 .
 
 Would the 'TRACE'-build show even more info?

No.  I seem to recall that trace is on by default in debug builds, and
only needs to be turned on explicitly (if desired) in non-debug builds.

-- 
/Nelson Bolyard
-- 
dev-tech-crypto mailing list
dev-tech-crypto@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-tech-crypto


How to get 'TRACE' build?

2011-01-11 Thread Bernhard Thalmayr

Hi experts,

https://developer.mozilla.org/en/NSS_reference/NSS_environment_variables

tells me that I have to build NSS/NSPR with 'TRACE'.

Unfortunatley I have not found how to make this build work.

I've already search the archive and the code but without success.

TIA,
Bernhard
--
dev-tech-crypto mailing list
dev-tech-crypto@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-tech-crypto