17 lines
469 B
Plaintext
17 lines
469 B
Plaintext
$OpenBSD: patch-doc_examples_ex-cert-select-pkcs11_c,v 1.5 2012/07/09 13:29:51 ajacoutot Exp $
|
|
|
|
MIN is already defined in sys/param.h.
|
|
|
|
--- doc/examples/ex-cert-select-pkcs11.c.orig Fri Jun 8 09:20:58 2012
|
|
+++ doc/examples/ex-cert-select-pkcs11.c Mon Jul 9 14:43:17 2012
|
|
@@ -24,7 +24,9 @@
|
|
|
|
#define MAX_BUF 1024
|
|
#define MSG "GET / HTTP/1.0\r\n\r\n"
|
|
+#ifndef MIN
|
|
#define MIN(x,y) (((x)<(y))?(x):(y))
|
|
+#endif
|
|
|
|
#define CAFILE "/etc/ssl/certs/ca-certificates.crt"
|
|
|