如何解决使用OPEN SSL库使用AES 256加密文件
Severity Code Description Project File Line Suppression State
Error C4996 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation,use _CRT_SECURE_NO_WARNINGS. See online help for details. ConsoleApplication1 C:\Users\dell\source\repos\ConsoleApplication1\ConsoleApplication1\ConsoleApplication1.cpp 43
#define _CRT_SECURE_NO_DEPRECATE
我得到了这个错误:
Severity Code Description Project File Line Suppression State
Error LNK2019 unresolved external symbol AES_set_encrypt_key referenced in function "class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __cdecl cipher_AES(class std::basic_string<char,class std::allocator<char> >,class std::basic_string<char,class std::allocator<char> >)" (?cipher_AES@@YA?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@V12@0@Z) ConsoleApplication1 C:\Users\dell\source\repos\ConsoleApplication1\ConsoleApplication1\ConsoleApplication1.obj 1
我该怎么办?
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。