Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #19434 > unrolled thread
| Started by | Adam Mercer <ramercer@gmail.com> |
|---|---|
| First post | 2012-01-25 15:06 -0600 |
| Last post | 2012-01-25 15:06 -0600 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.lang.python
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: Determining version of OpenSSL linked against python? Adam Mercer <ramercer@gmail.com> - 2012-01-25 15:06 -0600
| From | Adam Mercer <ramercer@gmail.com> |
|---|---|
| Date | 2012-01-25 15:06 -0600 |
| Subject | Re: Determining version of OpenSSL linked against python? |
| Message-ID | <mailman.5095.1327525649.27778.python-list@python.org> |
On Wed, Jan 25, 2012 at 14:56, Nick Dokos <nicholas.dokos@hp.com> wrote: > One other possibility is to parse the output of ssh -V: > > ,---- > | $ ssh -V > | OpenSSH_5.8p1 Debian-1ubuntu3, OpenSSL 0.9.8o 01 Jun 2010 > | $ python > | Python 2.7.1+ (r271:86832, Apr 11 2011, 18:13:53) > | [GCC 4.5.2] on linux2 > | Type "help", "copyright", "credits" or "license" for more information. > | >>> import ssl > | >>> ssl.OPENSSL_VERSION > | 'OpenSSL 0.9.8o 01 Jun 2010' > | >>> > `---- > > This assumes that ssh and python would use the same version of openssl: > not guaranteed, but seems like a "reasonable" assumption to me. Hmm, I like that idea. Thanks for the suggestion. Cheers Adam
Back to top | Article view | comp.lang.python
csiph-web