diff options
author | Nick Mathewson <nickm@torproject.org> | 2016-08-30 11:04:44 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2016-11-03 08:39:30 -0400 |
commit | e64bac6eb4a89ae63a2d5c1cb41cac903f1e8e66 (patch) | |
tree | d7e5af3ddb660e5d3cd5baf56563826ed63be9ad /src/test/test_link_handshake.c | |
parent | b4a5c779014b35d60f4a2ddcec31e7075ad52995 (diff) | |
download | tor-e64bac6eb4a89ae63a2d5c1cb41cac903f1e8e66.tar.gz tor-e64bac6eb4a89ae63a2d5c1cb41cac903f1e8e66.zip |
Increase TLS RSA link key length to 2048 bits
Oddly, nothing broke.
Closes ticket 13752.
Diffstat (limited to 'src/test/test_link_handshake.c')
-rw-r--r-- | src/test/test_link_handshake.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/test/test_link_handshake.c b/src/test/test_link_handshake.c index 9a3b57d3a0..05c84000b1 100644 --- a/src/test/test_link_handshake.c +++ b/src/test/test_link_handshake.c @@ -258,7 +258,8 @@ recv_certs_setup(const struct testcase_t *test) const tor_x509_cert_t *a,*b; const uint8_t *enca, *encb; size_t lena, lenb; - tor_tls_get_my_certs(1, &a, &b); + tor_tls_get_my_certs(0, &a, &b); /* Use '0' here to make sure we get + * auth cert */ tor_x509_cert_get_der(a, &enca, &lena); tor_x509_cert_get_der(b, &encb, &lenb); certs_cell_cert_setlen_body(ccc1, lena); |