Mercurial > dovecot > core-2.2
changeset 20338:2a05c653d223
lib-dcrypt: Use a more supported EC curve in unit test
Fixes running the test on CentOS 6.
author | Timo Sirainen <timo.sirainen@dovecot.fi> |
---|---|
date | Mon, 20 Jun 2016 02:25:47 +0300 |
parents | 9ab47cf0fb26 |
children | 327fcf6d2205 |
files | src/lib-dcrypt/test-crypto.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/lib-dcrypt/test-crypto.c Mon Jun 20 01:47:59 2016 +0300 +++ b/src/lib-dcrypt/test-crypto.c Mon Jun 20 02:25:47 2016 +0300 @@ -292,7 +292,7 @@ const char *error; test_begin("test_load_v2_public_key"); - const char *key = "2\t305e301006072a8648ce3d020106052b81040026034a000303a9288126a4ef239199d7ebe784d0b81b545df40e1feac5980965914524005fd11d18cf71cfd875a037172275dda474bcf6a96fd4824c9019b108e5258c0548ee70c6ce1d67ca5d"; + const char *key = "2\t3058301006072a8648ce3d020106052b810400230344000301c50954e734dd8b410a607764a7057065a45510da52f2c6e28e0cb353b9c389fa8cb786943ae991fce9befed78fb162fbbc615415f06af06c8cc80c37f4e94ff6c7"; test_assert(dcrypt_key_load_public(&pub, DCRYPT_FORMAT_DOVECOT, key, &error));