[openssl-dev] [openssl.org #3740] build error in ssl/kssl.c, deferencing pointer of incomplete type

Kai Engert via RT rt at openssl.org
Mon Mar 9 06:15:28 UTC 2015


I'm trying to build the tip of openssl from github.

I ran into a compiler error, trying to dereference a pointer of an
incomplete type in this function:

void SSL_set0_kssl_ctx(SSL *s, KSSL_CTX *kctx)

The patch below fixed it for me:


diff --git a/ssl/kssl.c b/ssl/kssl.c
index 6ec3742..ce43529 100644
--- a/ssl/kssl.c
+++ b/ssl/kssl.c
@@ -79,6 +79,7 @@
 #include <openssl/objects.h>
 #include <openssl/krb5_asn.h>
 #include "kssl_lcl.h"
+#include "ssl_locl.h"
 
 #ifndef OPENSSL_NO_KRB5
 





More information about the openssl-dev mailing list