diff options
author | Renato Botelho <renato@netgate.com> | 2016-05-03 08:55:02 -0300 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2016-05-03 08:55:02 -0300 |
commit | 5081bace2b0bdb7140682f44a429ab5ef9e71751 (patch) | |
tree | d061b3d4735aaab475bafa19055993adf3dd675f /contrib/ntp/tests/libntp/ssl_init.c | |
parent | 25206d6ba449fcddd116840c00b967fbd620f735 (diff) | |
parent | 39baf3a8165fd1fa06257b6812862e7113c5b905 (diff) | |
download | FreeBSD-src-5081bace2b0bdb7140682f44a429ab5ef9e71751.zip FreeBSD-src-5081bace2b0bdb7140682f44a429ab5ef9e71751.tar.gz |
Merge remote-tracking branch 'origin/releng/10.3' into RELENG_2_3
Diffstat (limited to 'contrib/ntp/tests/libntp/ssl_init.c')
-rw-r--r-- | contrib/ntp/tests/libntp/ssl_init.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/ntp/tests/libntp/ssl_init.c b/contrib/ntp/tests/libntp/ssl_init.c index 42fe920..435e5c9 100644 --- a/contrib/ntp/tests/libntp/ssl_init.c +++ b/contrib/ntp/tests/libntp/ssl_init.c @@ -43,7 +43,7 @@ test_SHA1KeyTypeWithDigestLength(void) { size_t digestLength; size_t expected = TEST_SHA1_DIGEST_LENGTH; - TEST_ASSERT_EQUAL(NID_sha, keytype_from_text("SHA", &digestLength)); + TEST_ASSERT_EQUAL(NID_sha1, keytype_from_text("SHA1", &digestLength)); TEST_ASSERT_EQUAL(expected, digestLength); /* OPENSSL */ #else @@ -62,7 +62,7 @@ test_MD5KeyName(void) { void test_SHA1KeyName(void) { #ifdef OPENSSL - TEST_ASSERT_EQUAL_STRING("SHA", keytype_name(NID_sha)); + TEST_ASSERT_EQUAL_STRING("SHA1", keytype_name(NID_sha1)); #else TEST_IGNORE_MESSAGE("Skipping because OPENSSL isn't defined"); #endif /* OPENSSL */ |