summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKurt Roeckx <kurt@roeckx.be>2018-06-23 10:24:00 +0200
committerKurt Roeckx <kurt@roeckx.be>2018-06-23 20:30:03 +0200
commit2ab5cb01d4d44f570b8e11384635149d38867eb2 (patch)
tree67ee6a4950e2cc75d30ee46a0ab6f40236cf4249
parent7fe760161df54cfbb2bdbc90a09a20ef0e7a6b30 (diff)
Fix prototype of ASN1_INTEGER_get and ASN1_INTEGER_set
The parameters where switched Reviewed-by: Rich Salz <rsalz@openssl.org> GH: #6578 (cherry picked from commit eaf39a9fe6f55feb5251e235069e02f7f50d9a49)
-rw-r--r--doc/crypto/ASN1_INTEGER_get_int64.pod4
1 files 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 <openssl/asn1.h>
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);