Use AlignedBuffer stedda posix_memalign(). Should work on PPC OS X 10.5.

Fixes #233 github issue.
This commit is contained in:
Keith Winstein
2012-04-22 22:46:49 -04:00
parent 9b3845e4b2
commit e8236c5fd4
3 changed files with 4 additions and 30 deletions
+1
View File
@@ -98,6 +98,7 @@ namespace Crypto {
class Session {
private:
Base64Key key;
AlignedBuffer ctx_buf;
ae_ctx *ctx;
uint64_t blocks_encrypted;