Fix warnings about const qualifier
This commit is contained in:
parent
6ab1759e04
commit
5e0d044bd3
|
@ -50,8 +50,8 @@ const NSInteger CryptoCBCMaxHMACLength = 100;
|
||||||
|
|
||||||
@property (nonatomic, unsafe_unretained) const EVP_CIPHER *cipher;
|
@property (nonatomic, unsafe_unretained) const EVP_CIPHER *cipher;
|
||||||
@property (nonatomic, unsafe_unretained) const EVP_MD *digest;
|
@property (nonatomic, unsafe_unretained) const EVP_MD *digest;
|
||||||
@property (nonatomic, unsafe_unretained) const char *utfCipherName;
|
@property (nonatomic, unsafe_unretained) char *utfCipherName;
|
||||||
@property (nonatomic, unsafe_unretained) const char *utfDigestName;
|
@property (nonatomic, unsafe_unretained) char *utfDigestName;
|
||||||
@property (nonatomic, assign) int cipherKeyLength;
|
@property (nonatomic, assign) int cipherKeyLength;
|
||||||
@property (nonatomic, assign) int cipherIVLength;
|
@property (nonatomic, assign) int cipherIVLength;
|
||||||
@property (nonatomic, assign) int hmacKeyLength;
|
@property (nonatomic, assign) int hmacKeyLength;
|
||||||
|
|
|
@ -38,8 +38,8 @@ static const NSInteger CryptoCTRTagLength = 32;
|
||||||
|
|
||||||
@property (nonatomic, unsafe_unretained) const EVP_CIPHER *cipher;
|
@property (nonatomic, unsafe_unretained) const EVP_CIPHER *cipher;
|
||||||
@property (nonatomic, unsafe_unretained) const EVP_MD *digest;
|
@property (nonatomic, unsafe_unretained) const EVP_MD *digest;
|
||||||
@property (nonatomic, unsafe_unretained) const char *utfCipherName;
|
@property (nonatomic, unsafe_unretained) char *utfCipherName;
|
||||||
@property (nonatomic, unsafe_unretained) const char *utfDigestName;
|
@property (nonatomic, unsafe_unretained) char *utfDigestName;
|
||||||
@property (nonatomic, assign) int cipherKeyLength;
|
@property (nonatomic, assign) int cipherKeyLength;
|
||||||
@property (nonatomic, assign) int cipherIVLength;
|
@property (nonatomic, assign) int cipherIVLength;
|
||||||
@property (nonatomic, assign) int hmacKeyLength;
|
@property (nonatomic, assign) int hmacKeyLength;
|
||||||
|
|
Loading…
Reference in New Issue