Changeset 795:d0ba6ecb205f in freeDiameter for tests
- Timestamp:
- Jul 17, 2012, 5:50:08 AM (12 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tests/testcnx.c
r767 r795 1267 1267 /* Set the CA */ 1268 1268 CHECK_GNUTLS_DO( ret = gnutls_certificate_set_x509_trust_mem( hf.creds, ¬rust_ca, GNUTLS_X509_FMT_PEM), ); 1269 CHECK_GNUTLS_DO( ret = gnutls_certificate_set_x509_trust_mem( hf.creds, &ca, GNUTLS_X509_FMT_PEM), ); 1269 /* TODO: fix me. 1270 We should not get stuck when the server fails the handshake but the client succeeds. 1271 However, at the moment we do get stuck. 1272 FFS, is this a test problem or a problem in the code? 1273 1274 CHECK_GNUTLS_DO( ret = gnutls_certificate_set_x509_trust_mem( hf.creds, &ca, GNUTLS_X509_FMT_PEM), ); 1275 */ 1270 1276 CHECK( 1, ret ); 1271 1277 /* Set the key */
Note: See TracChangeset
for help on using the changeset viewer.