$OpenBSD: patch-test_lib_c_08-ssl-fake-cacert_c,v 1.1 2017/04/15 20:46:16 sthen Exp $
--- test/lib/c/08-ssl-fake-cacert.c.orig	Fri Apr 14 15:15:51 2017
+++ test/lib/c/08-ssl-fake-cacert.c	Fri Apr 14 15:16:34 2017
@@ -1,3 +1,7 @@
+#if defined(__OpenBSD__)
+#  define EPROTO EOPNOTSUPP
+#endif
+
 #include <errno.h>
 #include <stdbool.h>
 #include <stdio.h>
