Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

openssl: how to find the config options that openssl was compiled with

Tags:

openssl

Is there an easier way to figure out the options specified during building openssl such as whether OPENSSL_NO_SRTP was defined at that time? I can only gleam limited information from the:

openssl version -a 

command. However if I have just the binaries, is there a way to figure out options such as these? The reason behind this question is that there is a vulnerability "CVE-2014-3513" that is introduced if openssl is not compiled with this option.

like image 493
Khanna111 Avatar asked Oct 16 '14 19:10

Khanna111


1 Answers

You can get most (all?) of the configuration information about the installed openssl via the version command. In particular,

openssl version -f

will list all the complier flags that were specified at build time.

like image 147
Old Pro Avatar answered Oct 19 '22 07:10

Old Pro