X-Git-Url: https://git.openssl.org/?p=openssl.git;a=blobdiff_plain;f=doc%2Fcrypto%2FASN1_INTEGER_get_int64.pod;h=6fa1428c4212edd3cf179c5610329b4e2c113d7b;hp=a9e38f8d57e54c955a24b994824e09ba36af68b4;hb=f48ebf9f4cc5be2624389583be19f1c8895be194;hpb=9b86974e0c705ea321ddbc9a9d8562c894809e5b;ds=sidebyside diff --git a/doc/crypto/ASN1_INTEGER_get_int64.pod b/doc/crypto/ASN1_INTEGER_get_int64.pod index a9e38f8d57..6fa1428c42 100644 --- a/doc/crypto/ASN1_INTEGER_get_int64.pod +++ b/doc/crypto/ASN1_INTEGER_get_int64.pod @@ -2,6 +2,7 @@ =head1 NAME +ASN1_INTEGER_get_uint64, ASN1_INTEGER_set_uint64, ASN1_INTEGER_get_int64, ASN1_INTEGER_get, ASN1_INTEGER_set_int64, ASN1_INTEGER_set, BN_to_ASN1_INTEGER, ASN1_INTEGER_to_BN, ASN1_ENUMERATED_get_int64, ASN1_ENUMERATED_get, ASN1_ENUMERATED_set_int64, ASN1_ENUMERATED_set, BN_to_ASN1_ENUMERATED, ASN1_ENUMERATED_to_BN, - ASN.1 INTEGER and ENUMERATED utilities =head1 SYNOPSIS @@ -9,7 +10,7 @@ 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(ASN1_INTEGER *a, long v); + int ASN1_INTEGER_get(const ASN1_INTEGER *a, long v); int ASN1_INTEGER_set_int64(ASN1_INTEGER *a, int64_t r); long ASN1_INTEGER_set(const ASN1_INTEGER *a); @@ -21,7 +22,7 @@ ASN1_INTEGER_get_int64, ASN1_INTEGER_get, ASN1_INTEGER_set_int64, ASN1_INTEGER_s BIGNUM *ASN1_INTEGER_to_BN(const ASN1_INTEGER *ai, BIGNUM *bn); int ASN1_ENUMERATED_get_int64(int64_t *pr, const ASN1_INTEGER *a); - long ASN1_ENUMERATED_get(ASN1_ENUMERATED *a); + long ASN1_ENUMERATED_get(const ASN1_ENUMERATED *a); int ASN1_ENUMERATED_set_int64(ASN1_INTEGER *a, int64_t r); int ASN1_ENUMERATED_set(ASN1_ENUMERATED *a, long v); @@ -85,9 +86,9 @@ an appropriate C integer type. =head1 BUGS -The ambigious return values of ASN1_INTEGER_get() and ASN1_ENUMERATED_get() +The ambiguous return values of ASN1_INTEGER_get() and ASN1_ENUMERATED_get() mean these functions should be avoided if possible. They are retained for -compatibility. Normally the ambigious return values are not legitimate +compatibility. Normally the ambiguous return values are not legitimate values for the fields they represent. =head1 RETURN VALUES @@ -106,7 +107,7 @@ B structure respectively or NULL if an error occurs. They will only fail due to a memory allocation error. ASN1_INTEGER_to_BN() and ASN1_ENUMERATED_to_BN() return a B structure -of NULL if an error occurs. They can fail if the pased type is incorrect +of NULL if an error occurs. They can fail if the passed type is incorrect (due to programming error) or due to a memory allocation failure. =head1 SEE ALSO @@ -119,4 +120,13 @@ ASN1_INTEGER_set_int64(), ASN1_INTEGER_get_int64(), ASN1_ENUMERATED_set_int64() and ASN1_ENUMERATED_get_int64() were added to OpenSSL 1.1.0. +=head1 COPYRIGHT + +Copyright 2015-2016 The OpenSSL Project Authors. All Rights Reserved. + +Licensed under the OpenSSL license (the "License"). You may not use +this file except in compliance with the License. You can obtain a copy +in the file LICENSE in the source distribution or at +L. + =cut