title: OpenSSL -aes-256-cbc decryption behavior changed between 1.0.2o and 1.1.0g
body: <p>This works with OpenSSL 1.0.2o:</p>
  
  <pre><code>$ echo s+pQpLgAQKY6z9fNtBz63A== | openssl enc -a -d -aes-256-cbc -k a -nosalt
  foobar
  </code></pre>
  
  <p>The same command doesn't work with OpenSSL 1.1.0g:</p>
  
  <pre><code>bad decrypt
  140479496508672:error:06065064:digital envelope routines:EVP_DecryptFinal_ex:bad decrypt:../crypto/evp/evp_enc.c:536:
  </code></pre>
  
  <p>Is there a command-line which works with both versions? If not, is there a command-line flag which I can add for OpenSSL 1.1.0g to make it work?</p>