Skip to content
Snippets Groups Projects
Commit 05a0279a authored by Niels Möller's avatar Niels Möller
Browse files

Comment fix.

Rev: nettle/des-compat.h:1.2
parent 3c2b83bf
No related merge requests found
...@@ -75,7 +75,7 @@ typedef uint8_t des_cblock[DES_BLOCK_SIZE]; ...@@ -75,7 +75,7 @@ typedef uint8_t des_cblock[DES_BLOCK_SIZE];
foo(const_des_cblock src, des_cblock dst), letting argument arrays foo(const_des_cblock src, des_cblock dst), letting argument arrays
"decay" into pointers of type uint8_t * and const uint8_t *. "decay" into pointers of type uint8_t * and const uint8_t *.
But since openssl's prototypes use *pointers const_des_cblock *src, But since openssl's prototypes use *pointers* const_des_cblock *src,
des_cblock *dst, this ends up in type conflicts, and the workaround des_cblock *dst, this ends up in type conflicts, and the workaround
is to not use const at all. is to not use const at all.
*/ */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment