-
Notifications
You must be signed in to change notification settings - Fork 10
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
Using OpenSSL #2
Comments
I have found I am running into some SSL library issues. not being a guru when it comes to compiling against libraries I suspect I have references to library that is not wuite there. I have openssl 1.0.1f under Ubuntu 14.02 LTS and I get: I can compile under Debian with libssl0.9 - |
Try adding diff --git a/Makefile b/Makefile
index 1fcb9d9..e9c6e8e 100644
--- a/Makefile
+++ b/Makefile
@@ -22,7 +22,7 @@ unittests: runner
./runner
runner: runner.cpp
- g++ -Wall -I./ -o $@ Rest.o TwiML.o Utils.o -lcurl $^
+ g++ -Wall -I./ -o $@ Rest.o TwiML.o Utils.o -lcurl -lssl $^
runner.cpp: UnitTests.h
./cxxtestgen.py -o $@ --error-printer $^ Cheers. |
Thanks! |
For that, try adding Cheers. |
Ahhh - a little progress I added -lcrpto to the Makefile |
So Now I can successfully send messages...(!) |
export OPENSSL_INCLUDE_DIR=/usr/local/opt/openssl/include see this here sfackler/rust-openssl#255 similar probs |
I'm pretty new to the API / REST / C++ field so please bear with me.
I've managed to utilize the PHP API from my web server application. However, I wish to extend the capability of my system. I have a daemon running in C on my server that polls 500+ pieces of equipment out in the world. I am migrating to twilio to utilize their servicse to handle messaging as opposed to 'in house' sendmail techniques. So I wanted to embark upon using your C++ API functions. But we removed OpenSSL due to heartbleed vulnerabilities so the library is not there. Are there any workarounds/
Thanks
The text was updated successfully, but these errors were encountered: