Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpenSSL issue #21

Open
smolskyaleksey opened this issue Feb 24, 2017 · 4 comments
Open

OpenSSL issue #21

smolskyaleksey opened this issue Feb 24, 2017 · 4 comments

Comments

@smolskyaleksey
Copy link

smolskyaleksey commented Feb 24, 2017

http://prntscr.com/ecse0k

I try to run make dep and get errors with openSSL pls see attachment.

openssl version
OpenSSL 0.9.8zh 14 Jan 2016

which openssl
/usr/bin/openssl

@smolskyaleksey
Copy link
Author

smolskyaleksey commented Feb 24, 2017

I run
CFLAGS="-I/Users/asmolski/Downloads/openSLL/bin/iPhoneSimulator10.2-x86_64.sdk/include -L/Users/asmolski/Downloads/openSLL/bin/iPhoneSimulator10.2-x86_64.sdk/lib -lssl -lcrypto" make

and get issue
clang: warning: argument unused during compilation: '-L/Users/asmolski/Downloads/openSLL/bin/iPhoneSimulator10.2-x86_64.sdk/lib' In file included from ../../zsrtp/zrtp/srtp/crypto/openssl/SrtpSymCrypto.cpp:40: In file included from ../../zsrtp/zrtp/srtp/crypto/SrtpSymCrypto.h:46: ../../zsrtp/zrtp/srtp/CryptoContext.h:424:26: error: field has incomplete type 'HMAC_CTX' (aka 'hmac_ctx_st') HMAC_CTX hmacSha1Ctx; ^ /Users/asmolski/Downloads/openSLL/bin/iPhoneSimulator10.2-x86_64.sdk/include/openssl/ossl_typ.h:102:16: note: forward declaration of 'hmac_ctx_st' typedef struct hmac_ctx_st HMAC_CTX; ^ 1 error generated. make[1]: *** [output/libzsrtp-x86_64-apple-darwin_ios/zrtp/srtp/crypto/openssl/SrtpSymCrypto.o] Error 1 make: *** [libzsrtp-x86_64-apple-darwin_ios.a] Error 2

@smolskyaleksey
Copy link
Author

rdesktop/rdesktop#53

Don't use openSSL 1.1.x

@wernerd
Copy link
Owner

wernerd commented Feb 24, 2017

This was an issue with the ZRTP build for PJSIP. Please get the latest updates now - I merged the fixes to the master branch of ZRTP4PJ.

@smolskyaleksey
Copy link
Author

smolskyaleksey commented Feb 24, 2017

@wernerd Could you make new release build (*.tar.gz file)?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants