Re: [git-users] Git openssl version

2015-04-08 Thread win-newbie
Thanks Konstantin! I have confirmed that those dll's are version 1.0.1.13 
which is 1.0.1m. 2 things I am confused about are:

1. Why would strings report openssl-1.0.1h?
2. Why are those msys-* dll's renamed?

On Wednesday, April 8, 2015 at 1:19:42 PM UTC-5, Konstantin Khomoutov wrote:

 On Wed, 8 Apr 2015 10:59:42 -0700 (PDT) 
 win-newbie mamta.u...@gmail.com javascript: wrote: 

  I installed git-1.9.5 using the windows installer. When I run 
  libneon-25.dll through dependency walker, I see it was linked with 
  MSYS-SSL-1.0.0.DLL and MSYS-CRYPTO-1.0.0.DLL. Are these 
  openssl-1.0.1m dlls renamed? I am confused because running strings on 
  libneon-25.dll, shows openssl-1.0.1h. 

 [1] lists two 1.9.5 releases with the newer one apparently containing 
 much fresher versions of OpenSSL. 

 IMO, running strings against libneon is pretty much useless: if 
 depends.exe tells you it linked with those MSYS-*-1.0.0.DLLs, it really 
 means that these DLLs will be pulled in when `git svn` is run (AFAIK, 
 libneon is only needed for Subversion shim to function; Git itself has 
 no use of it).  So I'd run strings against those MSYS OpenSSL DLLs to 
 see what they list as their version.  I've just run strings.exe (from 
 Sysinternals) against my (quite outdated) Git installation and it 
 extracted full OpenSSL version from these libs. 

 1. https://github.com/msysgit/msysgit/releases 


-- 
You received this message because you are subscribed to the Google Groups Git 
for human beings group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [git-users] Git openssl version

2015-04-08 Thread Konstantin Khomoutov
On Wed, 8 Apr 2015 11:30:11 -0700 (PDT)
win-newbie mamta.upadh...@gmail.com wrote:

 Thanks Konstantin! I have confirmed that those dll's are version
 1.0.1.13 which is 1.0.1m. 2 things I am confused about are:
 
 1. Why would strings report openssl-1.0.1h?

The strings utility merely dumps everything which appears to it as
a text string. They hence may come from anywhere from the module (and
that's why I suggested you to check the OpenSSL DLLs instead).

I'm not sure we're able to do an educated guess about what for libneon
might keep an OpenSSL version string in its module.  I mean, the only
way to know for sure is to read its source code.  I'd not be too
surprised to learn it actually asks the OpenSSL linked to it about its
version string and compares it to some constant.

If you do not trust dependency walker, grab any copy of Microsoft
Visual Studio for C++ (any will do, including ancient versions like 6.0)
and run

  dumpbin /imports libneon-25.dll

so it will list you precise file name of the OpenSSL DLL(s) it expects
to be linked in followed by the lists of symbols to import from each
respective library.

I mean, PE binaries on Windows have fixed and well-documented format --
with special sections for imported and exported symbols.  Sure, any
executable code is able to call LoadLibrary() to load arbitrary DLLs
and then all bets are off, but I doubt libneon (or any other part of
what's bundled with Git) does so.

 2. Why are those msys-* dll's renamed?

As to this, I'd say no more than 3 or 4 human beings on our whole planet
would be able to provide a precise answer right away.  Those persons
are Git for Windows developers, and they do not read this list anyway.

So if I were you, I'd clone the msysgit repo and study its build system.
The official project wiki has detailed instructions about how to get
started with building GfW from source code (that is, using msysgit),
so this will give you a pointer about where to start looking.

(Just in case, it's futile to try to ask for this kind of help on the
msysgit mailing list -- you'll be pointed at the build system anyway.)

-- 
You received this message because you are subscribed to the Google Groups Git 
for human beings group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [git-users] Git openssl version

2015-04-08 Thread Konstantin Khomoutov
On Wed, 8 Apr 2015 10:59:42 -0700 (PDT)
win-newbie mamta.upadh...@gmail.com wrote:

 I installed git-1.9.5 using the windows installer. When I run 
 libneon-25.dll through dependency walker, I see it was linked with 
 MSYS-SSL-1.0.0.DLL and MSYS-CRYPTO-1.0.0.DLL. Are these
 openssl-1.0.1m dlls renamed? I am confused because running strings on
 libneon-25.dll, shows openssl-1.0.1h.

[1] lists two 1.9.5 releases with the newer one apparently containing
much fresher versions of OpenSSL.

IMO, running strings against libneon is pretty much useless: if
depends.exe tells you it linked with those MSYS-*-1.0.0.DLLs, it really
means that these DLLs will be pulled in when `git svn` is run (AFAIK,
libneon is only needed for Subversion shim to function; Git itself has
no use of it).  So I'd run strings against those MSYS OpenSSL DLLs to
see what they list as their version.  I've just run strings.exe (from
Sysinternals) against my (quite outdated) Git installation and it
extracted full OpenSSL version from these libs.

1. https://github.com/msysgit/msysgit/releases

-- 
You received this message because you are subscribed to the Google Groups Git 
for human beings group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[git-users] Git openssl version

2015-04-08 Thread win-newbie
Hi all,

I installed git-1.9.5 using the windows installer. When I run 
libneon-25.dll through dependency walker, I see it was linked with 
MSYS-SSL-1.0.0.DLL and MSYS-CRYPTO-1.0.0.DLL. Are these openssl-1.0.1m dlls 
renamed? I am confused because running strings on libneon-25.dll, shows 
openssl-1.0.1h. 

Thanks,
Mamta

-- 
You received this message because you are subscribed to the Google Groups Git 
for human beings group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.