Re: [PATCH 7/8] crypto: ecdh - constify key

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On 04/19/2017 02:07 AM, Stephan Müller wrote:
Signed-off-by: Stephan Mueller <smueller@xxxxxxxxxx>
---
  include/crypto/ecdh.h | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/crypto/ecdh.h b/include/crypto/ecdh.h
index 03a64f6..b5bb149 100644
--- a/include/crypto/ecdh.h
+++ b/include/crypto/ecdh.h
@@ -40,7 +40,7 @@
   */
  struct ecdh {
  	unsigned short curve_id;
-	char *key;
+	const char *key;
  	unsigned short key_size;
  };

I just came across this and remembered that Stephan already
made a patch, so:

Acked-by: Tudor Ambarus <tudor.ambarus@xxxxxxxxxxxxx>



[Index of Archives]     [Kernel]     [Gnu Classpath]     [Gnu Crypto]     [DM Crypt]     [Netfilter]     [Bugtraq]

  Powered by Linux