diff --git a/include/polarssl/cipher.h b/include/polarssl/cipher.h index 13d714be98..0ab2b563b6 100644 --- a/include/polarssl/cipher.h +++ b/include/polarssl/cipher.h @@ -491,4 +491,4 @@ int cipher_self_test( int verbose ); } #endif -#endif /* POLARSSL_MD_H */ +#endif /* POLARSSL_CIPHER_H */ diff --git a/include/polarssl/x509.h b/include/polarssl/x509.h index 331553527b..878586233e 100644 --- a/include/polarssl/x509.h +++ b/include/polarssl/x509.h @@ -54,7 +54,7 @@ #define POLARSSL_ERR_X509_CERT_INVALID_ALG -0x2300 /**< The algorithm tag or value is invalid. */ #define POLARSSL_ERR_X509_CERT_INVALID_NAME -0x2380 /**< The name tag or value is invalid. */ #define POLARSSL_ERR_X509_CERT_INVALID_DATE -0x2400 /**< The date tag or value is invalid. */ -#define POLARSSL_ERR_X509_CERT_INVALID_PUBKEY -0x2480 /**< The pubkey tag or value is invalid (only RSA is supported). */ +#define POLARSSL_ERR_X509_CERT_INVALID_PUBKEY -0x2480 /**< The pubkey tag or value is invalid (only RSA and EC are supported). */ #define POLARSSL_ERR_X509_CERT_INVALID_SIGNATURE -0x2500 /**< The signature tag or value invalid. */ #define POLARSSL_ERR_X509_CERT_INVALID_EXTENSIONS -0x2580 /**< The extension tag or value is invalid. */ #define POLARSSL_ERR_X509_CERT_UNKNOWN_VERSION -0x2600 /**< Certificate or CRL has an unsupported version number. */