Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src




On Feb 24, 2005, at 8:43 AM, Emmanuel Dreyfus wrote:

Jason Thorpe <thorpej%shagadelic.org@localhost> wrote:

Perhaps we should provide SADB_X_EALG_AESCBC in our pfkey headers as
well?

I thought about it but I fear we could break software doing this:

        switch(foo) {
#ifdef SADB_X_EALG_AESCBC
        case SADB_X_EALG_AESCBC:
                /* whatever */
#endif
#ifdef SADB_X_EALG_AES
        case SADB_X_EALG_AES:
                /* whatever */
#endif
        }

Ok, then perhaps we should simply change the name of our constant to the AESCBC flavor. It is certainly more descriptive.

-- thorpej




Home | Main Index | Thread Index | Old Index