Crypto-Example icon indicating copy to clipboard operation
Crypto-Example copied to clipboard

require unsigned char *

Open zhoulipeng opened this issue 6 years ago • 0 comments

g++ -Wall -Wextra -ggdb -DUSE_PBKDF -o crypto_example base64.cpp Crypto.cpp crypto_example.cpp -lcrypto Crypto.cpp: 在成员函数‘int Crypto::generateAesKey(unsigned char**, unsigned char**)’中: Crypto.cpp:116:113: erroe :不能将 ‘int EVP_BytesToKey(const EVP_CIPHER*, const EVP_MD*, const unsigned char*, const unsigned char*, int, int, unsigned char*, unsigned char*)’的实参‘7’从‘unsigned char**’转换到‘unsigned char*’

zhoulipeng avatar Jan 17 '19 09:01 zhoulipeng