diff options
author | Jack Lloyd <[email protected]> | 2016-03-06 06:31:02 -0500 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2016-03-06 06:31:02 -0500 |
commit | dd40d492fc8c76954909445e1af6e32a3e03600e (patch) | |
tree | f8b041df0d69011ac90ae8a72c047375a5e4a8de /src/lib | |
parent | 7827c50cbddec094412745d877dcf3ea118ad4d7 (diff) | |
parent | 028a5126095e4eecd4dd213218f241a990fcbddd (diff) |
Merge GH #446 add --module-policy option
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/mac/mac.h | 2 | ||||
-rw-r--r-- | src/lib/pubkey/dlies/dlies.cpp | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/mac/mac.h b/src/lib/mac/mac.h index 90ef4db15..fe3388f3b 100644 --- a/src/lib/mac/mac.h +++ b/src/lib/mac/mac.h @@ -53,6 +53,8 @@ class BOTAN_DLL MessageAuthenticationCode : public Buffered_Computation, virtual MessageAuthenticationCode* clone() const = 0; }; +typedef MessageAuthenticationCode MAC; + } #endif diff --git a/src/lib/pubkey/dlies/dlies.cpp b/src/lib/pubkey/dlies/dlies.cpp index 86cd51e19..ba890ac3d 100644 --- a/src/lib/pubkey/dlies/dlies.cpp +++ b/src/lib/pubkey/dlies/dlies.cpp @@ -21,6 +21,8 @@ DLIES_Encryptor::DLIES_Encryptor(const PK_Key_Agreement_Key& key, m_mac(mac_obj), m_mac_keylen(mac_kl) { + BOTAN_ASSERT_NONNULL(kdf_obj); + BOTAN_ASSERT_NONNULL(mac_obj); m_my_key = key.public_value(); } |