• unknown's avatar
    Bug#20411: "GRANT ... REQUIRE ISSUER nnn AND SUBJECT mmm" fails to require both · 97e0f59b
    unknown authored
    when X.509 subject was required for a connect, we tested whether it was the right
    one, but did not refuse the connexion if not. fixed.
    
    (corrected CS now --replace_results socket-path)
    
    
    mysql-test/r/openssl_1.result:
      Bug#20411: "GRANT ... REQUIRE ISSUER nnn AND SUBJECT mmm" fails to require both
      
      test not only whether we can connect with a correct X.509 subject when one is
      required, but also assure that we can't without one.
    mysql-test/t/openssl_1.test:
      Bug#20411: "GRANT ... REQUIRE ISSUER nnn AND SUBJECT mmm" fails to require both
      
      test not only whether we can connect with a correct X.509 subject when one is
      required, but also assure that we can't without one.
    sql/sql_acl.cc:
      Bug#20411: "GRANT ... REQUIRE ISSUER nnn AND SUBJECT mmm" fails to require both
      
      actually refuse connexion if X.509 is required, but does not match. kudos to Al Smith.
    97e0f59b
sql_acl.cc 176 KB