Deprecate EC_KEY + Update ec apps to use EVP_PKEY
[openssl.git] / crypto / sm2 / sm2_key.c
index 5182d0105838bc99b5361fe2de1d4b165a2bb5fd..c91a712b67bc4bf7638aa5e1a9dbdaaf2881edf5 100644 (file)
@@ -7,6 +7,8 @@
  * https://www.openssl.org/source/license.html
  */
 
+#include "internal/deprecated.h" /* to be able to use EC_KEY and EC_GROUP */
+
 #include <openssl/err.h>
 #include "crypto/sm2err.h"
 #include "crypto/sm2.h"