Blob Blame History Raw
From aa50fd04b095863b357c0bb3f8f88e3b744e97e4 Mon Sep 17 00:00:00 2001
From: Christos Zoulas <christos@zoulas.com>
Date: Sat, 23 Jun 2018 16:00:00 -0400
Subject: [PATCH] Make unmodified argument const
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Signed-off-by: Petr Písař <ppisar@redhat.com>
---
 iked/crypto_impl.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/iked/crypto_impl.h b/iked/crypto_impl.h
index 294481c..090cb81 100644
--- a/iked/crypto_impl.h
+++ b/iked/crypto_impl.h
@@ -246,7 +246,7 @@ extern int eay_dh_compute (rc_vchar_t *, uint32_t, rc_vchar_t *,
 extern int eay_revbnl (rc_vchar_t *);
 #include <openssl/bn.h>
 extern int eay_v2bn (BIGNUM **, rc_vchar_t *);
-extern int eay_bn2v (rc_vchar_t **, BIGNUM *);
+extern int eay_bn2v (rc_vchar_t **, const BIGNUM *);
 
 extern const char *eay_version (void);
 
-- 
2.20.1