From: Timo Sirainen Date: Sun, 19 Jun 2016 23:25:47 +0000 (+0300) Subject: lib-dcrypt: Use a more supported EC curve in unit test X-Git-Tag: 2.2.25.rc1~132 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=81b96aa2b01d2f5035ee330365480c09084142dd;p=thirdparty%2Fdovecot%2Fcore.git lib-dcrypt: Use a more supported EC curve in unit test Fixes running the test on CentOS 6. --- diff --git a/src/lib-dcrypt/test-crypto.c b/src/lib-dcrypt/test-crypto.c index 4e2e6885a6..a7199dedc4 100644 --- a/src/lib-dcrypt/test-crypto.c +++ b/src/lib-dcrypt/test-crypto.c @@ -292,7 +292,7 @@ void test_load_v2_public_key(void) 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));