openbsd-ports/mail/wmbiff/patches/patch-wmbiff_gnutls-common_c
sturm 9e84dea72d update to wmbiff 0.4.22
use new libgcrypt

ok maintainer Michael Schubert <michael at schubert.cx>
2004-05-08 06:50:10 +00:00

20 lines
612 B
Plaintext

$OpenBSD: patch-wmbiff_gnutls-common_c,v 1.1 2004/05/08 06:50:10 sturm Exp $
--- wmbiff/gnutls-common.c.orig 2004-04-25 11:30:08.000000000 +0200
+++ wmbiff/gnutls-common.c 2004-04-25 11:31:24.000000000 +0200
@@ -1,5 +1,6 @@
#include <stdio.h>
#include <gnutls/gnutls.h>
+#include <gnutls/compat4.h>
#include <gnutls/extra.h>
#include <time.h>
@@ -192,8 +193,6 @@ void print_cert_vrfy(GNUTLS_STATE state)
printf("- Peer's certificate is NOT trusted\n");
else
printf("- Peer's certificate is trusted\n");
- if (status & GNUTLS_CERT_CORRUPTED)
- printf("- Peer's certificate is corrupted\n");
}