1 |
On Fri, 2004-03-19 at 15:39, Joel Osburn wrote: |
2 |
|
3 |
> While "readelf -s ssh | grep -i ssl" results in: |
4 |
> |
5 |
> 22: 0804a8d0 175 FUNC GLOBAL DEFAULT UND SSLeay_version |
6 |
> 56: 0804aaf0 37 FUNC GLOBAL DEFAULT UND |
7 |
> OPENSSL_add_all_algorithm |
8 |
> 83: 0804ac90 10 FUNC GLOBAL DEFAULT UND SSLeay |
9 |
> |
10 |
> So does openssh need to be recompiled whenever one recompiles openssl, |
11 |
> or is there another explanation? |
12 |
|
13 |
There is another explanation: |
14 |
|
15 |
openssh dynamically links to libcrypto from openssl which implements the |
16 |
above functions (readelf -s /usr/lib/libcrypto.so-0.9.6). Since it is a |
17 |
dynamic link, it should be fine. |
18 |
|
19 |
In the scriptlet I posted earlier, the grep searched for " SSL_" instead |
20 |
of "SSL" to help weed out some of the false positives. |
21 |
|
22 |
It looks like the 7th column of output from "readelf -s" indicates |
23 |
whether or not a function is defined locally. Maybe someone more |
24 |
knowledgeable than me can confirm that. |
25 |
|
26 |
~Simon Reynolds |
27 |
|
28 |
|
29 |
-- |
30 |
gentoo-security@g.o mailing list |