File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -497,7 +497,6 @@ def build_ffi(local_wolfssl, features):
497497 int ML_KEM_ENABLED = """ + str (features ["ML_KEM" ]) + """;
498498 int ML_DSA_ENABLED = """ + str (features ["ML_DSA" ]) + """;
499499 int HKDF_ENABLED = """ + str (features ["HKDF" ]) + """;
500- int ERROR_STRINGS_ENABLED = """ + str (features ["ERROR_STRINGS" ]) + """;
501500 """
502501
503502 ffibuilder .set_source ( "wolfcrypt._ffi" , init_source_string ,
@@ -538,7 +537,6 @@ def build_ffi(local_wolfssl, features):
538537 extern int ML_KEM_ENABLED;
539538 extern int ML_DSA_ENABLED;
540539 extern int HKDF_ENABLED;
541- extern int ERROR_STRINGS_ENABLED;
542540
543541 typedef unsigned char byte;
544542 typedef unsigned int word32;
@@ -1278,11 +1276,6 @@ def build_ffi(local_wolfssl, features):
12781276 int wolfCrypt_GetPrivateKeyReadEnable_fips(enum wc_KeyType);
12791277 """
12801278
1281- if features ["ERROR_STRINGS" ]:
1282- cdef += """
1283- const char* wc_GetErrorString(int error);
1284- """
1285-
12861279 if features ["ML_KEM" ] or features ["ML_DSA" ]:
12871280 cdef += """
12881281 static const int INVALID_DEVID;
You can’t perform that action at this time.
0 commit comments