libidav/crypto.c

changeset 267
171498cb2137
parent 261
f60d742a62a0
child 349
0b4ecadaf3f9
equal deleted inserted replaced
266:8c44c5919691 267:171498cb2137
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() {

mercurial