Bug fix: missing line from trunk crypto/comp/comp_lcl.h
Dave Baggett
dmb at arcode.com
Fri Jun 5 18:36:55 UTC 2015
Host: OS X i386 / x86_64
Version: trunk
Symptom: build fails with ZLIB enabled:
c_zlib.c:203:57: error: no member named 'ex_data' in 'struct comp_ctx_st'
CRYPTO_new_ex_data(CRYPTO_EX_INDEX_COMP, ctx, &ctx->ex_data);
~~~ ^
c_zlib.c:204:30: error: no member named 'ex_data' in 'struct comp_ctx_st'
CRYPTO_set_ex_data(&ctx->ex_data, zlib_stateful_ex_idx, state);
~~~ ^
c_zlib.c:214:55: error: no member named 'ex_data' in 'struct comp_ctx_st'
(struct zlib_state *)CRYPTO_get_ex_data(&ctx->ex_data,
~~~ ^
c_zlib.c:219:58: error: no member named 'ex_data' in 'struct comp_ctx_st'
CRYPTO_free_ex_data(CRYPTO_EX_INDEX_COMP, ctx, &ctx->ex_data);
~~~ ^
c_zlib.c:228:55: error: no member named 'ex_data' in 'struct comp_ctx_st'
(struct zlib_state *)CRYPTO_get_ex_data(&ctx->ex_data,
~~~ ^
c_zlib.c:257:55: error: no member named 'ex_data' in 'struct comp_ctx_st'
(struct zlib_state *)CRYPTO_get_ex_data(&ctx->ex_data,
~~~ ^
1 warning and 6 errors generated.
make[2]: *** [c_zlib.o] Error 1
make[1]: *** [subdirs] Error 1
make: *** [build_crypto] Error 1
cmd make -j1 failed
Fix: add the missing decl CRYPTO_EX_DATA ex_data to the struct:
diff --git i/crypto/comp/comp_lcl.h w/crypto/comp/comp_lcl.h
index f1ec8d5..1360f56 100644
--- i/crypto/comp/comp_lcl.h
+++ w/crypto/comp/comp_lcl.h
@@ -71,4 +71,5 @@ struct comp_ctx_st {
unsigned long compress_out;
unsigned long expand_in;
unsigned long expand_out;
+ CRYPTO_EX_DATA ex_data;
};
Sent with [inky](http://inky.com?kme=signature)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mta.openssl.org/pipermail/openssl-bugs-mod/attachments/20150605/fc32f5c3/attachment.html>
More information about the openssl-bugs-mod
mailing list