twitter/finagle — pull request #88 by slyphon (2012-06-12 04:34:29+00:00)
Title: OpenSSL v0.9 and v1.0 have different output for the md5 subcommand

Check to see what version of OpenSSL the 'openssl version' subcommand
returns, then trim the output if necessary.

I had MacPorts' OpenSSL in the path (which is version 1.0.1c), and the output from its md5 is different than the one in `/usr/bin/openssl`:

```
$ /usr/bin/openssl md5 < sbt-launch.jar
2886cc391e38fa233b3e6c0ec9adfa1e

$ /opt/local/bin/openssl md5 < sbt-launch.jar
(stdin)= 2886cc391e38fa233b3e6c0ec9adfa1e
```

This patch just checks the output of the version subcommand and adjusts as appropriate.