X-Git-Url: http://git.silcnet.org/gitweb/?a=blobdiff_plain;f=lib%2Fsilccrypt%2Fsilccipher.h;h=47cfd3e03f12375b3bb379c5845f5465d59258a5;hb=8ceff2f9e9d065106b1e0490b2a82d76394647c7;hp=fb3ec2576a391437cb92b6860b5f1190957dbdc3;hpb=1e4e7d57f414a337e084df4072a2690f0c9b71c6;p=silc.git diff --git a/lib/silccrypt/silccipher.h b/lib/silccrypt/silccipher.h index fb3ec257..47cfd3e0 100644 --- a/lib/silccrypt/silccipher.h +++ b/lib/silccrypt/silccipher.h @@ -63,11 +63,6 @@ typedef struct SilcCipherStruct { SilcCipherObject *cipher; void *context; unsigned char iv[SILC_CIPHER_MAX_IV_SIZE]; - - /* XXX Backwards support for 0.5.x - XXX Remove in 0.7.x */ - bool back; - void (*set_iv)(struct SilcCipherStruct *, const unsigned char *); void (*get_iv)(struct SilcCipherStruct *, unsigned char *); uint32 (*get_key_len)(struct SilcCipherStruct *); @@ -79,7 +74,7 @@ typedef struct SilcCipherStruct { #define SILC_ALL_CIPHERS ((SilcCipherObject *)1) /* Static list of ciphers for silc_cipher_register_default(). */ -extern SilcCipherObject silc_default_ciphers[]; +extern DLLAPI SilcCipherObject silc_default_ciphers[]; /* Default cipher in the SILC protocol */ #define SILC_DEFAULT_CIPHER "aes-256-cbc"