Robert Fuhrer via Postfix-users:
> > I couldn't find a suitable "capability macro", i.e., something
> >> that signals at the preprocessor level that the new options API
> >> is available.
> >> 
> >> Instead, I replaced the #if-test in your patch with just:
> >> 
> >> #if MYSQL_VERSION_ID >= 80035
> > 
> > Where does that number come from? It needs to be a version that
> > introduces all the the MYSQL_OPT_SSL_XXX features that Postfix
> > needs. This is the preferred API, and it won't be removed in another
> > 10 years.
> 
> The format of MYSQL_VERSION_ID seems to be Mmmss ("M" == "major",
> "mm" == "minor version", "ss" == "sub-version").
>
> According to the doc page
> <https://dev.mysql.com/doc/c-api/8.4/en/mysql-ssl-set.html> I
> linked, the preferred API was introduced in v8.0.35.

Then that is the appropriate version. Thanks.

        Wietse
_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org

Reply via email to