fix for osx10.7 deprecated function in openssl #14

merged 1 commit into from Jan 6, 2013


None yet

2 participants


Building fmq on 10.7/clang, i get few deprecated function in use. This is specific to osx and i don't know why those openssl functions are deprecated on 10.7.

fmq_hash.c:47:5: error: 'SHA1_Init' is deprecated [-Werror,-Wdeprecated-declarations]
SHA1_Init (&self->context);
fmq_hash.c:74:5: error: 'SHA1_Update' is deprecated [-Werror,-Wdeprecated-declarations]
SHA1_Update (&self->context, buffer, length);
fmq_hash.c:85:9: error: 'SHA1_Final' is deprecated [-Werror,-Wdeprecated-declarations]
SHA1_Final (self->hash, &self->context);

standalone patch:

@hintjens hintjens merged commit 32fc373 into zeromq:master Jan 6, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment