osx - Updating my Mac's OpenSSL, what am I doing wrong? -


i'm updating openssl on mac os x 10.8.5. updated using below commands , seems have succeeded.

wget http://www.openssl.org/source/openssl-1.0.1g.tar.gz tar xzf openssl-1.0.1g.tar.gz  cd openssl-1.0.1g ./configure darwin64-x86_64-cc make sudo make install 

however, when "openssl version" still "openssl 0.9.8y 5 feb 2013" though did make install 1.0.1g. missing step here?

however, when "openssl version" still "openssl 0.9.8y 5 feb 2013" though did make install 1.0.1g. missing step here?

the openssl built , installed located in /usr/local/ssl. program openssl located in /usr/local/ssl/bin, headers located in /usr/local/ssl/include/openssl, , libraries located in /usr/local/ssl/lib.

you using openssl came mac os x in /usr/bin:

$ find /usr -iname openssl /usr/bin/openssl ... 

you can examine details of openssl installed using full path:

$ /usr/local/ssl/darwin/bin/openssl version -a openssl 1.0.1g-fips 7 apr 2014 built on: fri apr 11 10:23:53 edt 2014 platform: darwin64-x86_64-cc options:  bn(64,64) rc4(ptr,char) des(idx,cisc,16,int) idea(int) blowfish(idx)  compiler: cc -fpic -fno-common -dopenssl_pic -dopenssl_threads -d_reentrant -ddso_dlfcn   -dhave_dlfcn_h -arch x86_64 -o3 -dl_endian -wall -dopenssl_ia32_sse2 -dopenssl_bn_asm_mont   -dopenssl_bn_asm_mont5 -dopenssl_bn_asm_gf2m -i/usr/local/ssl/fips-2.0/include -dsha1_asm   -dsha256_asm -dsha512_asm -dmd5_asm -daes_asm -dvpaes_asm -dbsaes_asm -dwhirlpool_asm -dghash_asm openssldir: "/usr/local/ssl/darwin/ssl" 

you can change installation directory following:

export kernel_bits=64 ./config --openssldir=xxx 

you can tune installation following. if on modern mac, believe enable-ec_nistp_64_gcc_128 give 2x 4x speedup in ec operations (by using uint128_t):

export kernel_bits=64 ./config shared no-ssl2 enable-ec_nistp_64_gcc_128 --openssldir=xxx 

Comments

Popular posts from this blog

windows - Single EXE to Install Python Standalone Executable for Easy Distribution -

c# - Access objects in UserControl from MainWindow in WPF -

javascript - How to name a jQuery function to make a browser's back button work? -