27 */ |
27 */ |
28 |
28 |
29 #include <stdio.h> |
29 #include <stdio.h> |
30 #include <stdlib.h> |
30 #include <stdlib.h> |
31 #include <string.h> |
31 #include <string.h> |
|
32 #include <libidav/utils.h> |
32 #include <openssl/rand.h> |
33 #include <openssl/rand.h> |
33 |
34 |
34 #include <libidav/utils.h> |
|
35 #include "crypto.h" |
35 #include "crypto.h" |
36 |
36 |
37 #if OPENSSL_VERSION_NUMBER < 10000000 |
37 #if OPENSSL_VERSION_NUMBER < 10000000 |
38 |
38 |
39 static EVP_CIPHER_CTX* create_evp_cipher_ctx() { |
39 static EVP_CIPHER_CTX* create_evp_cipher_ctx() { |