From 2ab5cb01d4d44f570b8e11384635149d38867eb2 Mon Sep 17 00:00:00 2001 From: Kurt Roeckx Date: Sat, 23 Jun 2018 10:24:00 +0200 Subject: [PATCH] Fix prototype of ASN1_INTEGER_get and ASN1_INTEGER_set The parameters where switched Reviewed-by: Rich Salz GH: #6578 (cherry picked from commit eaf39a9fe6f55feb5251e235069e02f7f50d9a49) --- doc/crypto/ASN1_INTEGER_get_int64.pod | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/crypto/ASN1_INTEGER_get_int64.pod b/doc/crypto/ASN1_INTEGER_get_int64.pod index f61268d6ac..7ed1cca891 100644 --- a/doc/crypto/ASN1_INTEGER_get_int64.pod +++ b/doc/crypto/ASN1_INTEGER_get_int64.pod @@ -11,10 +11,10 @@ ASN1_INTEGER_get_int64, ASN1_INTEGER_get, ASN1_INTEGER_set_int64, ASN1_INTEGER_s #include int ASN1_INTEGER_get_int64(int64_t *pr, const ASN1_INTEGER *a); - int ASN1_INTEGER_get(const ASN1_INTEGER *a, long v); + long ASN1_INTEGER_get(const ASN1_INTEGER *a); int ASN1_INTEGER_set_int64(ASN1_INTEGER *a, int64_t r); - long ASN1_INTEGER_set(const ASN1_INTEGER *a); + int ASN1_INTEGER_set(const ASN1_INTEGER *a, long v); int ASN1_INTEGER_get_uint64(uint64_t *pr, const ASN1_INTEGER *a); int ASN1_INTEGER_set_uint64(ASN1_INTEGER *a, uint64_t r); -- 2.25.1