title: How to update OpenSSL on mac?
body: <p>I need to ensure that I have OpenSSL version of 1.0.1 or greater to connect to the Salesforce API according to <a href="https://github.com/superfell/Beatbox" rel="nofollow noreferrer">this documentation</a>. </p>
  
  <p>According to <a href="https://apple.stackexchange.com/questions/126830/how-to-upgrade-openssl-in-os-x">this question</a>, I can do the following steps (which I've completed successfully)</p>
  
  <ol>
  <li>brew update </li>
  <li>brew install openssl</li>
  <li>brew link --force openssl</li>
  </ol>
  
  <p>When I run <code>openssl version -a</code>, I get the following: </p>
  
  <pre><code>OpenSSL 1.0.2h  3 May 2016
  built on: reproducible build, date unspecified
  platform: darwin64-x86_64-cc
  options:  bn(64,64) rc4(ptr,int) des(idx,cisc,16,int) idea(int) blowfish(idx) 
  compiler: /usr/bin/clang -I. -I.. -I../include  -fPIC -fno-common -DOPENSSL_PIC -DZLIB -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 -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DMD5_ASM -DAES_ASM -DVPAES_ASM -DBSAES_ASM -DWHIRLPOOL_ASM -DGHASH_ASM -DECP_NISTZ256_ASM
  OPENSSLDIR: "/opt/local/etc/openssl"
  </code></pre>
  
  <p>However, when I run <code>python -c "import ssl; print ssl.OPENSSL_VERSION"</code>, I get the following: </p>
  
  <pre><code>OpenSSL 0.9.8zh 14 Jan 2016
  </code></pre>
  
  <p>I'm getting mixed signals from my computer, but my salesforce module is still not working, so I know OpenSSL is not updated completely on my computer. </p>
  
  <p>I should also mention that I've also tried: </p>
  
  <pre><code>sudo port upgrade openssl
  </code></pre>
  
  <p>Port seemed to have worked, but when I run <code>python -c "import ssl; print ssl.OPENSSL_VERSION"</code> I still get that I'm on "OpenSSL 0.9.8zh"</p>
  
  <p>Is there another way to update OpenSSL?</p>