bk: 4b36f34bL--O3TdMkIlepoItxt2wVg
---
(4.2.6p1-RC2) 2009/12/25 Released by Harlan Stenn <stenn@ntp.org>
+* [Bug 1127] Properly check the return of X590_verify() - missed one.
* [Bug 1411] Fix status messages in refclock_oncore.c.
* [Bug 1416] MAXDNAME undefined on Solaris 2.6.
* [Bug 1419] ntpdate, ntpdc, sntp, ntpd ignore configure --bindir.
* Sign and verify.
*/
X509_sign(cert, pkey, md);
- if (!X509_verify(cert, pkey)) {
+ if (X509_verify(cert, pkey) <= 0) {
fprintf(stderr, "Verify %s certificate fails\n%s\n", id,
ERR_error_string(ERR_get_error(), NULL));
X509_free(cert);