You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
pressing gcc -Wall openssl_aes.c -lcrypto
it showed the following error: openssl_aes.c: In function ‘aes_encrypt’: openssl_aes.c:49:22: error: ‘AES_BLOCK_SIZE’ undeclared (first use in this function) int c_len = *len + AES_BLOCK_SIZE, f_len = 0; ^~~~~~~~~~~~~~ openssl_aes.c:49:22: note: each undeclared identifier is reported only once for each function it appears in openssl_aes.c: In function ‘main’: openssl_aes.c:87:18: error: storage size of ‘en’ isn’t known EVP_CIPHER_CTX en, de; ^~ openssl_aes.c:87:22: error: storage size of ‘de’ isn’t known EVP_CIPHER_CTX en, de; ^~ openssl_aes.c:87:22: warning: unused variable ‘de’ [-Wunused-variable] openssl_aes.c:87:18: warning: unused variable ‘en’ [-Wunused-variable] EVP_CIPHER_CTX en, de;
The text was updated successfully, but these errors were encountered:
pressing
gcc -Wall openssl_aes.c -lcrypto
it showed the following error:
openssl_aes.c: In function ‘aes_encrypt’: openssl_aes.c:49:22: error: ‘AES_BLOCK_SIZE’ undeclared (first use in this function) int c_len = *len + AES_BLOCK_SIZE, f_len = 0; ^~~~~~~~~~~~~~ openssl_aes.c:49:22: note: each undeclared identifier is reported only once for each function it appears in openssl_aes.c: In function ‘main’: openssl_aes.c:87:18: error: storage size of ‘en’ isn’t known EVP_CIPHER_CTX en, de; ^~ openssl_aes.c:87:22: error: storage size of ‘de’ isn’t known EVP_CIPHER_CTX en, de; ^~ openssl_aes.c:87:22: warning: unused variable ‘de’ [-Wunused-variable] openssl_aes.c:87:18: warning: unused variable ‘en’ [-Wunused-variable] EVP_CIPHER_CTX en, de;
The text was updated successfully, but these errors were encountered: