commit | 22bb031c436c352498a05cd0881575908467a742 | [log] [tgz] |
---|---|---|
author | Adam Langley <agl@chromium.org> | Wed Jul 30 11:05:51 2014 -0700 |
committer | Adam Langley <agl@google.com> | Wed Jul 30 18:19:02 2014 +0000 |
tree | ba91edb8e3ea933d6af471ae3bde6af8d4c9099b | |
parent | a3d21e2101ea690ee476d63ed221940e762a67e3 [diff] |
Don't mark AES_set_{en|de}crypt_key arg as const. Windows complains when the declaration of a function doesn't match the definition. In this case, the |bits| argument (not a pointer, just an unsigned) was marked as const in the definition only. Normally const isn't used for non-pointer arguments so I've removed it in this case to make Windows compile. https://code.google.com/p/chromium/issues/detail?id=398960 Change-Id: If7386cf61f9dfbf6b32bfada1a49d5742fe94396 Reviewed-on: https://boringssl-review.googlesource.com/1338 Reviewed-by: Adam Langley <agl@google.com>