title: PEM_read_bio_PrivateKey() returns NULL in ECB mode only
body: <p><code>PEM_read_bio_PrivateKey()</code> returns <code>NULL</code> if a private key is encrypted by DES EDE in ECB mode. The issue happens in <code>EVP_DecryptFinal_ex()</code>:</p>
  
  <p><code>4128:error:06065064:digital envelope routines:EVP_DecryptFinal_ex:bad decrypt:evp_enc.c:330:</code></p>
  
  <p>If the same private key is encrypted by DES EDE in CBC mode, this function works OK.</p>
  
  <p>I checked, this issue is reproducible on openssl 0.9.8r/y versions (without FIPS). If openssl is built with FIPS the issue doesn't happen.</p>
  
  <p>What causes this behaviour?</p>
  
  <p>Thanks!</p>