• unknown's avatar
    Bug #29784 YaSSL assertion failure when reading 8k key. · 4c090d82
    unknown authored
    Fixed the yassl base64 decoding to correctly allocate a maximum decoded buffer size. 
    
    
    mysql-test/std_data/server8k-cert.pem:
      BitKeeper file /Users/dkatz/50/mysql-test/std_data/server8k-cert.pem
    mysql-test/std_data/server8k-key.pem:
      BitKeeper file /Users/dkatz/50/mysql-test/std_data/server8k-key.pem
    extra/yassl/taocrypt/src/coding.cpp:
      Fixed buffer allocation to compute the proper maximum decoded size: (EncodedLength * 3/4) + 3
    mysql-test/r/ssl_8k_key.result:
      New BitKeeper file ``mysql-test/r/ssl_8k_key.result''
      
      Test connection to server using large SSL key.
    mysql-test/t/ssl_8k_key.test:
      New BitKeeper file ``mysql-test/t/ssl_8k_key.test''
      
      Test connection to server using large SSL key.
    4c090d82
server8k-cert.pem 3.14 KB