diff options
Diffstat (limited to 'lib/libcsi/csi_internal.h')
-rw-r--r-- | lib/libcsi/csi_internal.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libcsi/csi_internal.h b/lib/libcsi/csi_internal.h index 74e6a640dc1..ab331e1330c 100644 --- a/lib/libcsi/csi_internal.h +++ b/lib/libcsi/csi_internal.h @@ -1,4 +1,4 @@ -/* $OpenBSD: csi_internal.h,v 1.2 2018/06/02 17:43:14 jsing Exp $ */ +/* $OpenBSD: csi_internal.h,v 1.3 2022/01/10 23:03:07 tb Exp $ */ /* * Copyright (c) 2018 Joel Sing <jsing@openbsd.org> * @@ -49,11 +49,11 @@ int csi_err_setx(struct csi_err *_err, u_int _code, const char *_fmt, ...); int csi_integer_to_bn(struct csi_err *_err, const char *_field, struct csi_integer *_value, BIGNUM **_bn); -int csi_bn_to_integer(struct csi_err *_err, BIGNUM *_bn, +int csi_bn_to_integer(struct csi_err *_err, const BIGNUM *_bn, struct csi_integer *_integer); struct csi_dh_params *csi_dh_params_dup(struct csi_dh_params *_cdhp); -int csi_dh_public_is_valid(struct csi_dh *_cdh, BIGNUM *_pubkey); +int csi_dh_public_is_valid(struct csi_dh *_cdh, const BIGNUM *_pubkey); __END_HIDDEN_DECLS |