mirror of
https://git.freebsd.org/ports.git
synced 2025-06-07 05:40:30 -04:00
PR: ports/158933 Submitted by: D'Arcy Cain <darcy at Vex.Net> Obtained from: heirloom-mailx CVS
28 lines
589 B
Text
28 lines
589 B
Text
--- makeconfig 2007/04/14 15:26:00 1.14
|
|
+++ makeconfig 2009/05/26 21:04:15 1.15
|
|
@@ -393,6 +393,25 @@
|
|
!
|
|
fi
|
|
|
|
+if test x$have_openssl = xyes
|
|
+then
|
|
+ compile_check stack_of 'for STACK_OF()' '#define HAVE_STACK_OF' <<\!
|
|
+#include <openssl/ssl.h>
|
|
+#include <openssl/err.h>
|
|
+#include <openssl/x509v3.h>
|
|
+#include <openssl/x509.h>
|
|
+#include <openssl/rand.h>
|
|
+
|
|
+int main(void)
|
|
+{
|
|
+ STACK_OF(GENERAL_NAME) *gens = NULL;
|
|
+ printf("%p", gens); /* to make it used */
|
|
+ SSLv23_client_method();
|
|
+ PEM_read_PrivateKey(0, 0, 0, 0);
|
|
+ return 0;
|
|
+}
|
|
+!
|
|
+fi
|
|
|
|
cat >$tmp2.c <<\!
|
|
#include <gssapi/gssapi.h>
|