diff options
author | Pauli <paul.dale@oracle.com> | 2019-04-30 20:36:16 +1000 |
---|---|---|
committer | Pauli <paul.dale@oracle.com> | 2019-05-01 08:37:11 +1000 |
commit | 39147079fc41b1af9a4e2974e89de20668e02aea (patch) | |
tree | 3d37a1466917d0ee1a4bf41b38180fee72863f49 /crypto/evp/e_aria.c | |
parent | a39eb84006ca68d38d1c7204a6135647d06b5d01 (diff) |
Structure alignment macro.
Introduce a macro that allows all structure alignment tricks to be rolled up
into a single place.
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/8845)
Diffstat (limited to 'crypto/evp/e_aria.c')
-rw-r--r-- | crypto/evp/e_aria.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/crypto/evp/e_aria.c b/crypto/evp/e_aria.c index 882849486e..5404dd480f 100644 --- a/crypto/evp/e_aria.c +++ b/crypto/evp/e_aria.c @@ -1,5 +1,5 @@ /* - * Copyright 2017-2018 The OpenSSL Project Authors. All Rights Reserved. + * Copyright 2017-2019 The OpenSSL Project Authors. All Rights Reserved. * Copyright (c) 2017, Oracle and/or its affiliates. All rights reserved. * * Licensed under the Apache License 2.0 (the "License"). You may not use @@ -27,7 +27,7 @@ typedef struct { /* ARIA GCM context */ typedef struct { union { - double align; + OSSL_UNION_ALIGN; ARIA_KEY ks; } ks; /* ARIA subkey to use */ int key_set; /* Set if key initialised */ @@ -43,7 +43,7 @@ typedef struct { /* ARIA CCM context */ typedef struct { union { - double align; + OSSL_UNION_ALIGN; ARIA_KEY ks; } ks; /* ARIA key schedule to use */ int key_set; /* Set if key initialised */ |