Apacheに静的モジュールでインストールした際に、
具体的にモジュール内で定義されている関数(今回はtls12_get_hash)が
どのような変わっていくのか確認してみました。
opensslを共有ライブラリ、Apacheのmod_sslをDSOでインストールした場合
libsslにあるtls12_get_hashを利用
# readelf -Ws /usr/local/ssl/lib/libssl.so.1.0.0 | grep tls12_get_hash
757: 0000000000037950 85 FUNC GLOBAL DEFAULT 11 tls12_get_hash
825: 0000000000037950 85 FUNC GLOBAL DEFAULT 11 tls12_get_hash
opensslを非共有ライブラリ、Apacheのmod_sslをDSOでインストールした場合
mod_sslにあるtls12_get_hashを利用
# readelf -Ws /usr/local/apache2/modules/mod_ssl.so | grep tls12_get_hash
5529: 0000000000077c80 85 FUNC LOCAL DEFAULT 11 tls12_get_hash
opensslを非共有ライブラリ、Apacheのmod_sslを静的モジュールとしてインストールした場合
httpdにあるtls12_get_hashを利用
# readelf -Ws /usr/local/apache2/bin/httpd | grep tls12_get_hash
5915: 0000000000501860 85 FUNC GLOBAL DEFAULT 13 tls12_get_hash
8305: 0000000000501860 85 FUNC GLOBAL DEFAULT 13 tls12_get_hash