Make Aes_impl and Hmac_impl private member classes

This commit is contained in:
Andrew Ayer
2014-07-07 22:29:13 -07:00
parent 0210fd7541
commit 22bae167b0
2 changed files with 6 additions and 6 deletions

View File

@@ -43,7 +43,7 @@ void init_crypto ()
ERR_load_crypto_strings();
}
struct Aes_impl {
struct Aes_ecb_encryptor::Aes_impl {
AES_KEY key;
};
@@ -66,7 +66,7 @@ void Aes_ecb_encryptor::encrypt(const unsigned char* plain, unsigned char* ciphe
AES_encrypt(plain, cipher, &(impl->key));
}
struct Hmac_impl {
struct Hmac_sha1_state::Hmac_impl {
HMAC_CTX ctx;
};